Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 10:23:08 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366299 - head/x11/gnome-applets
Message-ID:  <201408271023.s7RAN8YC084961@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408271023.s7RAN8YC084961>