aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-08 07:40:23 +0800
committermarino <marino@FreeBSD.org>2013-10-08 07:40:23 +0800
commita2dc285c0ea59d2c14a2d9ea6899ed7a210ba5d5 (patch)
treee61a78f0169c5b6d3db742a3a79532ae3afa9fab /japanese
parent75f2f17686803372411d7a488c3afc47442146cf (diff)
downloadfreebsd-ports-gnome-a2dc285c0ea59d2c14a2d9ea6899ed7a210ba5d5.tar.gz
freebsd-ports-gnome-a2dc285c0ea59d2c14a2d9ea6899ed7a210ba5d5.tar.zst
freebsd-ports-gnome-a2dc285c0ea59d2c14a2d9ea6899ed7a210ba5d5.zip
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
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kanjipad/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/japanese/kanjipad/Makefile b/japanese/kanjipad/Makefile
index 616d585cc757..41fc72b006fa 100644
--- a/japanese/kanjipad/Makefile
+++ b/japanese/kanjipad/Makefile
@@ -14,6 +14,7 @@ USES= perl5 gmake pkgconfig
USE_GNOME= gtk20
MAKE_ARGS= OPTIMIZE="${CFLAGS}" PREFIX="${PREFIX}" \
GTKINC="`pkg-config --cflags gtk+-2.0`"
+LDFLAGS+= -lm
PORTDOCS= README
PLIST_FILES= bin/kanjipad bin/kpengine %%DATADIR%%/jdata.dat