aboutsummaryrefslogtreecommitdiff
path: root/www/gtkhtml3
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-23 10:28:03 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-23 10:28:03 +0000
commitc958a485819003ec24c1ea1b01940ea7c953115e (patch)
tree544858c7e8531f55637ace19f7fe9ce4ac601ede /www/gtkhtml3
parenta0b1f9f804c55b43a404082d192042d7b0e7f832 (diff)
downloadports-c958a485819003ec24c1ea1b01940ea7c953115e.tar.gz
ports-c958a485819003ec24c1ea1b01940ea7c953115e.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)
Notes
Notes: svn path=/head/; revision=362656
Diffstat (limited to 'www/gtkhtml3')
-rw-r--r--www/gtkhtml3/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/www/gtkhtml3/Makefile b/www/gtkhtml3/Makefile
index 521c26390d45..79f8c5b7d4af 100644
--- a/www/gtkhtml3/Makefile
+++ b/www/gtkhtml3/Makefile
@@ -41,8 +41,6 @@ post-patch:
s|-DGDK_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|gtkhtml-editor-test[$$]|gtkhtml3-editor-test$$|' \
- -e '/^gtkhtml_editor_test_LDADD =/s/=/= @GTKHTML_LIBS@/' \
- -e 's/$$(GTHREAD_LIBS)/-lgthread-2.0/' \
${WRKSRC}/components/editor/Makefile.in
@${REINPLACE_CMD} -e 's|G_CONST_RETURN||g' \
${WRKSRC}/a11y/*.[ch]