From ad2e6d9cbccd260dd87a0b628896acf13b94a652 Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 8 Oct 2013 00:15:34 +0000 Subject: Explicitly link libraries on 10 unmaintained ports The following ports will not build with a binutils 2.22+ linker built with standard options. This has been obvious with DPorts, but difficult to see on FreeBSD. However, setting the ports compiler as a recent gcc (e.g lang/gcc48) is an excellent way to detect the unspecified but needed libraries as these recent GCC compilers use the latest binutils linkers. These patches were tested on FreeBSD 8.4 and DragonFly 3.5 --- x11/xsel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11/xsel/Makefile') diff --git a/x11/xsel/Makefile b/x11/xsel/Makefile index c97cccc747c2..fc0d833bdf23 100644 --- a/x11/xsel/Makefile +++ b/x11/xsel/Makefile @@ -15,7 +15,7 @@ CONFLICTS= xsel-conrad-[0-9]* USE_BZIP2= yes USE_XORG= xmu xaw xt xproto xkbfile CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw +LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw -lX11 -lXmu MAN1= ${PORTNAME}.1 PLIST_FILES= bin/${PORTNAME} PORTDOCS= ${PORTNAME}.html -- cgit