Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2008 02:43:37 -0200
From:      "Carlos A. M. dos Santos" <unixmania@gmail.com>
To:        "Eitan Adler" <eitanadlerlist@gmail.com>,  freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: xclip dependencies
Message-ID:  <e71790db0810252143q457d83fn839b23ac05db6ff8@mail.gmail.com>
In-Reply-To: <4903EDA9.10103@gmail.com>
References:  <48FB994A.1080704@gmail.com> <e71790db0810252046o65ee9639q170537b5fe43ccec@mail.gmail.com> <4903EDA9.10103@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 26, 2008 at 2:10 AM, Eitan Adler <eitanadlerlist@gmail.com> 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=	ports@FreeBSD.org
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e71790db0810252143q457d83fn839b23ac05db6ff8>