From d6a5ea6839de5f349346da7c05e8ebdf09d1d272 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 2 Dec 2015 14:44:49 +0000 Subject: - Fix options handling - Respect LOCALBASE PR: 194739 Reported by: zhmylove@narod.ru --- x11-wm/wmfs/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'x11-wm/wmfs') diff --git a/x11-wm/wmfs/Makefile b/x11-wm/wmfs/Makefile index d8c6d076867f..5f120b338970 100644 --- a/x11-wm/wmfs/Makefile +++ b/x11-wm/wmfs/Makefile @@ -25,22 +25,22 @@ CONFIGURE_ARGS= --prefix ${PREFIX} \ --man-prefix ${MANPREFIX}/man \ --xdg-config-dir ${PREFIX}/etc/xdg -CFLAGS+= -I${LOCALBASE}/include \ - -I${LOCALBASE}/include/freetype2 - SUB_FILES= pkg-message OPTIONS_DEFINE= XRANDR XINERAMA IMLIB OPTIONS_DEFAULT= XRANDR XINERAMA IMLIB XRANDR_USE= XORG=xrandr -XRANDR_CONFIGURE_WITH= xrandr +XRANDR_CONFIGURE_OFF= --without-xrandr XINERAMA_USE= XORG=xinerama -XINERAMA_CONFIGURE_WITH= xinerama +XINERAMA_CONFIGURE_OFF= --without-xinerama IMLIB_LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2 -IMLIB_CONFIGURE_WITH= imlib2 +IMLIB_CONFIGURE_OFF= --without-imlib2 + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include -- cgit