diff --git a/x11/slock/Makefile b/x11/slock/Makefile index 6f43879c687d..5fe395159788 100644 --- a/x11/slock/Makefile +++ b/x11/slock/Makefile @@ -18,6 +18,8 @@ MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${X11BASE}/lib" \ MANPREFIX="${MANPREFIX}/man" PLIST_FILES= bin/slock +USE_XLIB= yes + post-patch: @${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\ -e 's|-DHAVE_SHADOW_H||' ${WRKSRC}/config.mk