svn commit: r366299 - head/x11/gnome-applets
Tijl Coosemans
tijl at FreeBSD.org
Wed Aug 27 10:23:08 UTC 2014
Author: tijl
Date: Wed Aug 27 10:23:07 2014
New Revision: 366299
URL: http://svnweb.freebsd.org/changeset/ports/366299
QAT: https://qat.redports.org/buildarchive/r366299/
Log:
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.
Modified:
head/x11/gnome-applets/Makefile
Modified: head/x11/gnome-applets/Makefile
==============================================================================
--- head/x11/gnome-applets/Makefile Wed Aug 27 10:06:11 2014 (r366298)
+++ head/x11/gnome-applets/Makefile Wed Aug 27 10:23:07 2014 (r366299)
@@ -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
More information about the svn-ports-head
mailing list