Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2015 14:44:49 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402829 - head/x11-wm/wmfs
Message-ID:  <201512021444.tB2EinFw008524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512021444.tB2EinFw008524>