diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-23 10:28:03 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-23 10:28:03 +0000 |
commit | c958a485819003ec24c1ea1b01940ea7c953115e (patch) | |
tree | 544858c7e8531f55637ace19f7fe9ce4ac601ede /x11-toolkits/open-motif/Makefile | |
parent | a0b1f9f804c55b43a404082d192042d7b0e7f832 (diff) | |
download | ports-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 'x11-toolkits/open-motif/Makefile')
-rw-r--r-- | x11-toolkits/open-motif/Makefile | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile index 37425b0f10c0..e57e198cab25 100644 --- a/x11-toolkits/open-motif/Makefile +++ b/x11-toolkits/open-motif/Makefile @@ -50,68 +50,6 @@ post-patch: ${XARGS} ${REINPLACE_CMD} -e 's|special file|5| ; \ s|file formats|5|' @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure.ac - @${REINPLACE_CMD} '/^mwm_LDADD =/s/$$/ -lXt -lXext -lX11/' \ - ${WRKSRC}/clients/mwm/Makefile.am - @${REINPLACE_CMD} '/^uil_LDADD =/s/$$/ -lXt/' \ - ${WRKSRC}/clients/uil/Makefile.am - @${REINPLACE_CMD} '/^LDADD =/s/\\*$$/ -lXt -lX11 &/' \ - ${WRKSRC}/clients/xmbind/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch05/Scale/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch06/combo_box/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch06/spin_box/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch08/Container/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch08/Notebook/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch16/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch17/simple_drag/Makefile.am \ - ${WRKSRC}/demos/doc/programGuide/ch17/simple_drop/Makefile.am \ - ${WRKSRC}/demos/programs/ColorSel/Makefile.am \ - ${WRKSRC}/demos/programs/Column/Makefile.am \ - ${WRKSRC}/demos/programs/Exm/simple_app/Makefile.am \ - ${WRKSRC}/demos/programs/Ext18List/Makefile.am \ - ${WRKSRC}/demos/programs/IconB/Makefile.am \ - ${WRKSRC}/demos/programs/TabStack/Makefile.am \ - ${WRKSRC}/demos/programs/Tree/Makefile.am \ - ${WRKSRC}/demos/programs/airport/Makefile.am \ - ${WRKSRC}/demos/programs/animate/Makefile.am \ - ${WRKSRC}/demos/programs/drag_and_drop/Makefile.am \ - ${WRKSRC}/demos/programs/draw/Makefile.am \ - ${WRKSRC}/demos/programs/filemanager/Makefile.am \ - ${WRKSRC}/demos/programs/fileview/Makefile.am \ - ${WRKSRC}/demos/programs/getsubres/Makefile.am \ - ${WRKSRC}/demos/programs/i18ninput/Makefile.am \ - ${WRKSRC}/demos/programs/panner/Makefile.am \ - ${WRKSRC}/demos/programs/periodic/Makefile.am \ - ${WRKSRC}/demos/programs/piano/Makefile.am \ - ${WRKSRC}/demos/programs/popups/Makefile.am \ - ${WRKSRC}/demos/programs/sampler2_0/Makefile.am \ - ${WRKSRC}/demos/programs/setdate/Makefile.am \ - ${WRKSRC}/demos/programs/workspace/Makefile.am \ - ${WRKSRC}/demos/unsupported/aicon/Makefile.am \ - ${WRKSRC}/demos/unsupported/dainput/Makefile.am \ - ${WRKSRC}/demos/unsupported/dogs/Makefile.am \ - ${WRKSRC}/demos/unsupported/motifshell/Makefile.am \ - ${WRKSRC}/demos/unsupported/xmapdef/Makefile.am \ - ${WRKSRC}/demos/unsupported/xmfonts/Makefile.am - @${REINPLACE_CMD} '/^LDADD =/s/$$/ -lXt/' \ - ${WRKSRC}/demos/lib/Exm/wml/Makefile.am \ - ${WRKSRC}/demos/lib/Xmd/Makefile.am \ - ${WRKSRC}/demos/programs/ButtonBox/Makefile.am \ - ${WRKSRC}/demos/programs/Combo2/Makefile.am \ - ${WRKSRC}/demos/programs/FontSel/Makefile.am \ - ${WRKSRC}/demos/programs/Outline/Makefile.am \ - ${WRKSRC}/demos/programs/Paned/Makefile.am \ - ${WRKSRC}/demos/programs/hellomotif/Makefile.am \ - ${WRKSRC}/demos/programs/hellomotifi18n/Makefile.am \ - ${WRKSRC}/demos/programs/tooltips/Makefile.am \ - ${WRKSRC}/demos/unsupported/hellomotif/Makefile.am \ - ${WRKSRC}/demos/unsupported/xmforc/Makefile.am \ - ${WRKSRC}/demos/unsupported/xmform/Makefile.am - @${REINPLACE_CMD} '/^LDADD =/s/\\*$$/ -lXt -lXext -lX11 &/' \ - ${WRKSRC}/demos/programs/Exm/app_in_c/Makefile.am \ - ${WRKSRC}/demos/programs/earth/Makefile.am \ - ${WRKSRC}/demos/programs/todo/Makefile.am - @${REINPLACE_CMD} '/^wmldbcreate_LDADD =/s/$$/ -lXt/' \ - ${WRKSRC}/tools/wml/Makefile.am post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} |