aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-applets
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-27 10:23:07 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-27 10:23:07 +0000
commit4c76eb3d5b2b284e85211c663375a4614ac4dc74 (patch)
tree03a986c6d2bb16b676fb3671f2fd91449a57240f /x11/gnome-applets
parent155f4e57bc099abcddfae05ec328d4c0f2a45077 (diff)
Notes
Diffstat (limited to 'x11/gnome-applets')
-rw-r--r--x11/gnome-applets/Makefile10
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