aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fbpanel
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-26 22:06:08 +0800
committertijl <tijl@FreeBSD.org>2014-08-26 22:06:08 +0800
commitf8357b5cbaa160ccdf9943cac099f5e092c591da (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /x11/fbpanel
parent89a7d6ecbdde724b92ca6650493f56cf68855f35 (diff)
downloadfreebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.gz
freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.zst
freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.zip
- Fix missing library problems when the linker enforces explicit linking
PR: 192062 Exp-run by: antoine Approved by: portmgr (antoine)
Diffstat (limited to 'x11/fbpanel')
-rw-r--r--x11/fbpanel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/fbpanel/Makefile b/x11/fbpanel/Makefile
index 81abc268eb9c..1a010f02a45d 100644
--- a/x11/fbpanel/Makefile
+++ b/x11/fbpanel/Makefile
@@ -15,6 +15,7 @@ LICENSE= MIT
USES= gmake pkgconfig tar:bzip2
USE_GNOME= gtk20
+USE_XORG= x11
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
@@ -26,6 +27,8 @@ DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \
"${PORTNAME}" "${PORTNAME}" "System;" false
post-patch:
+ @${REINPLACE_CMD} -e '/LDFLAGS/s/$$/ -lX11 -lm/' \
+ ${WRKSRC}/panel/Makefile.in
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/scripts/install.sh
@${REINPLACE_CMD} -e 's|@DATADIR@|${DATADIR}|' \
${WRKSRC}/data/man/${PORTNAME}.1.in