diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-02 22:44:49 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-02 22:44:49 +0800 |
commit | d6a5ea6839de5f349346da7c05e8ebdf09d1d272 (patch) | |
tree | 052b23f21e68efba9c0c91ca48f4185664496312 /x11-wm/wmfs | |
parent | c8654f664df2c7550cf069aa9fafd07822784d61 (diff) | |
download | freebsd-ports-gnome-d6a5ea6839de5f349346da7c05e8ebdf09d1d272.tar.gz freebsd-ports-gnome-d6a5ea6839de5f349346da7c05e8ebdf09d1d272.tar.zst freebsd-ports-gnome-d6a5ea6839de5f349346da7c05e8ebdf09d1d272.zip |
- Fix options handling
- Respect LOCALBASE
PR: 194739
Reported by: zhmylove@narod.ru
Diffstat (limited to 'x11-wm/wmfs')
-rw-r--r-- | x11-wm/wmfs/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
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 <bsd.port.mk> |