1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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.
This commit is contained in:
Tijl Coosemans 2014-08-27 10:23:07 +00:00
parent 155f4e57bc
commit 4c76eb3d5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366299

View File

@ -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