aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-08-22 03:23:59 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-08-22 03:23:59 +0000
commit364a31e9b2e6c9f88f8bd9bc9918802a6e56d773 (patch)
tree7e56cd633cc7e46558d35aff488a27956e10a2f8 /x11-toolkits
parent4ef651381398314a781f54b40e1f6b59fe36b815 (diff)
downloadports-364a31e9b2e6c9f88f8bd9bc9918802a6e56d773.tar.gz
ports-364a31e9b2e6c9f88f8bd9bc9918802a6e56d773.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtkscintilla/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-toolkits/gtkscintilla/Makefile b/x11-toolkits/gtkscintilla/Makefile
index d264ce879655..19b08b180d4a 100644
--- a/x11-toolkits/gtkscintilla/Makefile
+++ b/x11-toolkits/gtkscintilla/Makefile
@@ -22,11 +22,11 @@ USE_GMAKE= yes
USE_GNOME= gtk12
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
-.if !exists(${LOCALBASE}/include/scintilla/.scintilla-gtk1)
-IGNORE= requires x11-toolkits/scintilla to be built with GTK+1
-.endif
+pre-configure:
+ @if [ -n "`${PKG_INFO} -E 'scintilla-gtk2-[0-9]*' 2> /dev/null`" ]; then \
+ ${ECHO_CMD} "${PKGNAME}: requires x11-toolkits/scintilla to be built with GTK+1."; \
+ ${FALSE}; \
+ fi
do-install:
${MKDIR} ${PREFIX}/include/scintilla
@@ -35,4 +35,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libgtkscintilla.so.0 ${PREFIX}/lib
${LN} -sf ${PREFIX}/lib/libgtkscintilla.so.0 ${PREFIX}/lib/libgtkscintilla.so
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>