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-fm/tdfsb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11-fm') diff --git a/x11-fm/tdfsb/Makefile b/x11-fm/tdfsb/Makefile index 0cde822905a9..32e3435449a8 100644 --- a/x11-fm/tdfsb/Makefile +++ b/x11-fm/tdfsb/Makefile @@ -27,7 +27,7 @@ CPPFLAGS+= `${LOCALBASE}/bin/pkgconf --cflags SDL_image gl` \ -I ${LOCALBASE}/include LDFLAGS+= `${LOCALBASE}/bin/pkgconf --libs SDL_image gl` \ `${LOCALBASE}/bin/smpeg-config --libs` \ - -L ${LOCALBASE}/lib -lGLU -lglut + -L ${LOCALBASE}/lib -lGLU -lglut -lm NO_STAGE= yes .include -- cgit v1.2.3