summaryrefslogtreecommitdiff
path: root/x11/slock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/slock/Makefile')
-rw-r--r--x11/slock/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/slock/Makefile b/x11/slock/Makefile
index 815c5bddb6e1..b3f74c1371e3 100644
--- a/x11/slock/Makefile
+++ b/x11/slock/Makefile
@@ -13,12 +13,12 @@ MASTER_SITES= http://www.suckless.org/download/ CENKES
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Simple X screen locker
-MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${X11BASE}/lib" \
- X11INC="${X11BASE}/include" CC="${CC}" \
+MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
+ X11INC="${LOCALBASE}/include" CC="${CC}" \
MANPREFIX="${MANPREFIX}/man"
PLIST_FILES= bin/slock
-USE_XLIB= yes
+USE_XORG= x11 xt
post-patch:
@${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\