From fa7458864b338ce19dbfc9cc7eeec1abe55a1f23 Mon Sep 17 00:00:00 2001 From: bland Date: Thu, 8 Jul 2004 14:42:03 +0000 Subject: - Fix examples build trigger. - Axe yet more build but not install stuff. --- x11-toolkits/gtkmm24/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'x11-toolkits/gtkmm24') diff --git a/x11-toolkits/gtkmm24/Makefile b/x11-toolkits/gtkmm24/Makefile index 8152579..71002b7a 100644 --- a/x11-toolkits/gtkmm24/Makefile +++ b/x11-toolkits/gtkmm24/Makefile @@ -36,20 +36,20 @@ CONFIGURE_ARGS= --enable-static=yes \ PLIST_SUB= VERSION="2.4" API_VERSION="2.4" .if defined(WITH_EXAMPLES) +CONFIGURE_ARGS+=--enable-examples PLIST_SUB+= EXAMPLES="" .else +CONFIGURE_ARGS+=--disable-examples PLIST_SUB+= EXAMPLES="@comment " .endif post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \ + -e '/^SUBDIRS =/s/demos//' \ ${WRKSRC}/Makefile.in -.if !defined(WITH_EXAMPLES) - @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ - ${WRKSRC}/Makefile.in -.endif .if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e 's/^SUBDIRS = /docs//' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^SUBDIRS =/s/docs//' \ + ${WRKSRC}/Makefile.in .endif .include -- cgit v1.1