aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/i3/Makefile
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-10-03 00:47:32 +0800
committerdhn <dhn@FreeBSD.org>2009-10-03 00:47:32 +0800
commit5e5c9fe05e5b325a882a997a6f66c2a48cb24800 (patch)
tree61aed50182a3ec234a310cc0c6ac7116192aa1d7 /x11-wm/i3/Makefile
parent8edcce176b5500f3069731dccdd511bd5f2c9f92 (diff)
downloadfreebsd-ports-gnome-5e5c9fe05e5b325a882a997a6f66c2a48cb24800.tar.gz
freebsd-ports-gnome-5e5c9fe05e5b325a882a997a6f66c2a48cb24800.tar.zst
freebsd-ports-gnome-5e5c9fe05e5b325a882a997a6f66c2a48cb24800.zip
- Fix build with custom PREFIX/LOCALBASE
Reported by: QAT
Diffstat (limited to 'x11-wm/i3/Makefile')
-rw-r--r--x11-wm/i3/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-wm/i3/Makefile b/x11-wm/i3/Makefile
index a71ba0330c3f..6d2cb80ce0f6 100644
--- a/x11-wm/i3/Makefile
+++ b/x11-wm/i3/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= xcb.2:${PORTSDIR}/x11/libxcb \
ev.3:${PORTSDIR}/devel/libev
USE_XORG= x11
+USE_XLIB= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
@@ -45,6 +46,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/src/config.c
@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/config.sample
@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/|g' ${WRKSRC}/man/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/common.mk
@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.1
do-install: