On Sun, Oct 26, 2008 at 2:10 AM, Eitan Adler <[EMAIL PROTECTED]> wrote:
> I looked at the file - although I don't actually know what I should
> looking for.

...
1374 .if defined(USE_IMAKE) && !defined(USE_X_PREFIX)
1375 USE_X_PREFIX=   yes
1376 .endif
...
1380 .if defined(USE_X_PREFIX)
1381 USE_XLIB=       yes
1382 .endif
...
1844 X_LIBRARIES_PORT=   ${PORTSDIR}/x11/xorg-libraries
...
2033 .if defined(USE_XLIB)
2034 .   if defined(USE_LINUX)
2035 RUN_DEPENDS+=
${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-xorg-libs
2036 .   else
2037 BUILD_DEPENDS+= ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
2038 RUN_DEPENDS+=   ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
2039 .   endif
2040 .endif

> There is no way to limit the number of dependencies ?

It would be necessary to hack a workaround, perhaps setting
USE_X_PREFIX as "no". Try the Makefile below. It works, but I'm not
sure if it is legal to touch USE_X_PREFIX even knowing that X11BASE is
the same as LOCALBASE these days.

-- 
cd /usr/ports/sysutils/life
make clean



# ex:ts=8
# New ports collection makefile for:    xclip
# Date created:                 Dec 18, 2001
# Whom:                         ijliao
#
# $FreeBSD: ports/x11/xclip/Makefile,v 1.6 2007/05/19 20:27:39 flz Exp $
#

PORTNAME=       xclip
PORTVERSION=    0.08
PORTREVISION=   2
CATEGORIES=     x11
MASTER_SITES=   http://www.stearns.org/xclip/ \
                http://ftp.ussg.iu.edu/linux/gentoo/distfiles/ \
                http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/

MAINTAINER=     [EMAIL PROTECTED]
COMMENT=        An interface to X selections ("the clipboard") from the command 
line

WRKSRC=         ${WRKDIR}/${PORTNAME}
USE_IMAKE=      yes
USE_X_PREFIX=   no
USE_XORG=       x11 xmu

MAN1=           xclip.1
PLIST_FILES=    bin/xclip

.include <bsd.port.mk>
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to