diff options
author | tijl <tijl@FreeBSD.org> | 2014-08-27 18:23:07 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-08-27 18:23:07 +0800 |
commit | 1508716cd55be1c091899e368bb349e335f6b0c1 (patch) | |
tree | 03a986c6d2bb16b676fb3671f2fd91449a57240f /x11 | |
parent | acb064e92d9e3852e86adcb3c3e6abc1373855b3 (diff) | |
download | freebsd-ports-gnome-1508716cd55be1c091899e368bb349e335f6b0c1.tar.gz freebsd-ports-gnome-1508716cd55be1c091899e368bb349e335f6b0c1.tar.zst freebsd-ports-gnome-1508716cd55be1c091899e368bb349e335f6b0c1.zip |
There are more missing libraries in this port. Instead of fixing all of
them just disable explicit linking by adding -Wl,--add-needed to LDFLAGS.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnome-applets/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile index 843f72183f89..56373bbff855 100644 --- a/x11/gnome-applets/Makefile +++ b/x11/gnome-applets/Makefile @@ -91,15 +91,13 @@ PLIST_SUB+= CPUFREQ="" GCONF_SCHEMAS+= cpufreq-applet.schemas .endif +.if !(${OPSYS} == FreeBSD && ${OSVERSION} < 900033) +LDFLAGS+= -Wl,--add-needed +.endif + post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|" == "|" = "|g' - @${REINPLACE_CMD} '/^geyes_applet2_LDADD =/s/=/= -lm/' \ - ${WRKSRC}/geyes/Makefile.in - @${REINPLACE_CMD} '/^stickynotes_applet_LDADD =/s/=/= $$(X_LIBS)/' \ - ${WRKSRC}/stickynotes/Makefile.in - @${REINPLACE_CMD} '/^trashapplet_LDADD =/s/=/= $$(X_LIBS)/' \ - ${WRKSRC}/trashapplet/src/Makefile.in .if !defined(USE_PYTHON) @${REINPLACE_CMD} -e 's|HAVE_PYGTK="yes"|HAVE_PYGTK="no"|' \ ${WRKSRC}/configure |