aboutsummaryrefslogtreecommitdiff
path: root/x11/simdock
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /x11/simdock
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
- Fix missing library problems when the linker enforces explicit linking
PR: 192062 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=366215
Diffstat (limited to 'x11/simdock')
-rw-r--r--x11/simdock/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/simdock/Makefile b/x11/simdock/Makefile
index 9b6254d96a89..1c20adb0c1dc 100644
--- a/x11/simdock/Makefile
+++ b/x11/simdock/Makefile
@@ -19,6 +19,7 @@ GNU_CONFIGURE= yes
USES= desktop-file-utils pathfix pkgconfig
USE_GNOME= gnomeprefix gconf2 libwnck
USE_WX= 2.8
+USE_XORG= x11
WX_UNICODE= yes
WX_CONF_ARGS= absolute
@@ -30,6 +31,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
${WRKSRC}/Makefile.in \
${WRKSRC}/src/main.h
+ @${REINPLACE_CMD} '/^simdock_LDADD =/s/$$/ -lX11/' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' \
-e 's|/usr/share/firefox|${PREFIX}/lib/firefox|g' \
${WRKSRC}/src/main.cc