xclip dependencies

Carlos A. M. dos Santos unixmania at gmail.com
Sun Oct 26 03:46:17 UTC 2008


On Sun, Oct 19, 2008 at 6:32 PM, Eitan Adler <eitanadlerlist at gmail.com> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Xclip currently depends on x11/xorg-libraries
>
> Here are the relevant includes
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <unistd.h>
> #include <ctype.h>
> #include <X11/Xlib.h>
> #include <X11/Xatom.h>
> #include <X11/Xmu/Atoms.h>
> #include "xcdef.h"
> #include "xcprint.h"
> #include "xclib.h"
>
> Can the xclip Makefile be changed to only depend on specific libraries?

It should be as simple as adding to the Makefile a line containing

	USE_XORG=	x11 xmu

Unfortunately it is not, due to the way the USE_IMAKE variable is
interpreted (see bsd.port.mk).

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


More information about the freebsd-ports mailing list