svn commit: r402829 - head/x11-wm/wmfs
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Dec 2 14:44:51 UTC 2015
Author: amdmi3
Date: Wed Dec 2 14:44:49 2015
New Revision: 402829
URL: https://svnweb.freebsd.org/changeset/ports/402829
Log:
- Fix options handling
- Respect LOCALBASE
PR: 194739
Reported by: zhmylove at narod.ru
Modified:
head/x11-wm/wmfs/Makefile
Modified: head/x11-wm/wmfs/Makefile
==============================================================================
--- head/x11-wm/wmfs/Makefile Wed Dec 2 14:28:31 2015 (r402828)
+++ head/x11-wm/wmfs/Makefile Wed Dec 2 14:44:49 2015 (r402829)
@@ -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 <bsd.port.mk>
More information about the svn-ports-head
mailing list