aboutsummaryrefslogtreecommitdiffstats
path: root/devel/anjuta
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-23 18:28:03 +0800
committertijl <tijl@FreeBSD.org>2014-07-23 18:28:03 +0800
commitffbef41617a13ad3e9a79df15b02c3ae51cee136 (patch)
tree544858c7e8531f55637ace19f7fe9ce4ac601ede /devel/anjuta
parentbe5687fcd4aa53facc12b059c5a25986711524cd (diff)
downloadfreebsd-ports-gnome-ffbef41617a13ad3e9a79df15b02c3ae51cee136.tar.gz
freebsd-ports-gnome-ffbef41617a13ad3e9a79df15b02c3ae51cee136.tar.zst
freebsd-ports-gnome-ffbef41617a13ad3e9a79df15b02c3ae51cee136.zip
Remove two libtool fixes from Mk/Uses/libtool.mk. They don't always work
when an older version of a package is installed. This is the case when an executable links with installed libraries and with uninstalled libraries that link with other uninstalled libraries. For each of the directly linked libraries the executable will have an rpath (/usr/local/lib for the installed libraries and a path under WRKDIR for each of the uninstalled libraries), but not for the indirect libraries. Both ld(1) and rtld(1) search the rpath of the executable first before any rpath of libraries, so the indirectly linked libraries will be found in /usr/local/lib if they are installed instead of in WRKDIR. With this commit executables will overlink with uninstalled indirect libraries again so their location is added to the rpath of the executable. This partially reverts r358784. PR: 191611 Approved by: portmgr (bapt)
Diffstat (limited to 'devel/anjuta')
-rw-r--r--devel/anjuta/Makefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile
index d5c669a65a9d..0889890955bb 100644
--- a/devel/anjuta/Makefile
+++ b/devel/anjuta/Makefile
@@ -93,15 +93,6 @@ PLIST_SUB+= DEVHELP=""
post-patch:
@${RM} ${WRKSRC}/plugins/debug-manager/anjuta-debug-manager.schemas
- @${REINPLACE_CMD} '/^test_LDADD =/ \
- s/=/= -lgtk-x11-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 $$(INTLLIBS)/' \
- ${WRKSRC}/plugins/gbf-am/Makefile.in
- @${REINPLACE_CMD} '/^gdbmi_test_LDADD =/s/$$/ -lgtk-x11-2.0 -lglib-2.0/' \
- ${WRKSRC}/plugins/gdb/Makefile.in
- @${REINPLACE_CMD} -e '/^anjuta_LDADD =/s/=/= $$(ANJUTA_LIBS)/' \
- -e '/^anjuta_shell_LDADD =/ \
- s/=/= -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 $$(INTLLIBS)/' \
- ${WRKSRC}/src/Makefile.in
post-configure:
@${REINPLACE_CMD} -e 's|"make|"gmake|g' \