aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
commitc7c32639cce504dbfefa9d1a09034d60600acaca (patch)
tree542278ecb4449b3df78960fd5f6cf7d8be50914f /x11-themes
parent42aab3eb75f5152697ee03e5e8457ce58906e2c1 (diff)
downloadports-c7c32639cce504dbfefa9d1a09034d60600acaca.tar.gz
ports-c7c32639cce504dbfefa9d1a09034d60600acaca.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gtk-qt4-engine/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/x11-themes/gtk-qt4-engine/Makefile b/x11-themes/gtk-qt4-engine/Makefile
index a4aba9504295..e0d3eb114b0b 100644
--- a/x11-themes/gtk-qt4-engine/Makefile
+++ b/x11-themes/gtk-qt4-engine/Makefile
@@ -18,20 +18,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= BONOBO
BONOBO_DESC= Better support for Bonobo (GNOME) framework
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MBONOBO}
-USE_GNOME+= libbonoboui
-.endif
+BONOBO_USE= GNOME=libbonoboui
post-patch:
-.if !${PORT_OPTIONS:MBONOBO}
- @${REINPLACE_CMD} -e '/^PKGCONFIG(libbonoboui/d' \
- ${WRKSRC}/CMakeLists.txt
-.endif
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/kcm_gtk/searchpaths.cpp \
${WRKSRC}/src/rcproperties.cpp
+post-patch-BONOBO-off:
+ ${REINPLACE_CMD} -e '/^PKGCONFIG(libbonoboui/d' \
+ ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>