From 4ede5e9b248f4c96a8d9617f4fbc241f489d7235 Mon Sep 17 00:00:00 2001 From: John 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-wm/pawm/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'x11-wm/pawm') diff --git a/x11-wm/pawm/Makefile b/x11-wm/pawm/Makefile index 57071fe64c04..677811d35eef 100644 --- a/x11-wm/pawm/Makefile +++ b/x11-wm/pawm/Makefile @@ -14,6 +14,7 @@ USE_XORG= x11 xft xrandr xrender xpm USES= cmake pkgconfig CMAKE_ARGS= -DCMAKE_CONFIG_PREFIX:STRING="${PREFIX}/etc" \ -DX11_LIBRARY_DIRS:STRING="${LOCALBASE}/lib" +LDFLAGS+= -L${LOCALBASE}/lib -lXext -lXrender .if defined(WITH_SN) LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification -- cgit v1.2.3