ports/115394: [PATCH] x11-toolkits/gtkscintilla: add IGNORE for non-GTK1 Scintilla

Naram Qashat cyberbotx at cyberbotx.com
Fri Aug 10 18:10:06 UTC 2007

>Number:         115394
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/gtkscintilla: add IGNORE for non-GTK1 Scintilla
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 10 18:10:05 GMT 2007
>Originator:     Naram Qashat
>Release:        FreeBSD 6.2-RELEASE-p5 i386
System: FreeBSD kirby.cyberbotx.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #9: Fri Jun 15 22:26:29 EDT 2007
- Add IGNORE if x11-toolkits/scintilla is not built using GTK1

Generated with FreeBSD Port Tools 0.77

Note: This PR relies on the commit of ports/115127 first
Note 2: Please replace ports/115388 with this one, I found that my first
        patch would not work when I did the same with editors/scite

--- gtkscintilla-0.8.2_5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/gtkscintilla/Makefile /kirby/shared/ports/gtkscintilla/Makefile
--- /usr/ports/x11-toolkits/gtkscintilla/Makefile	Sun May 20 17:04:07 2007
+++ /kirby/shared/ports/gtkscintilla/Makefile	Fri Aug 10 13:56:35 2007
@@ -22,6 +22,12 @@
 USE_GNOME=	gtk12
+.include <bsd.port.pre.mk>
+.if !exists(${PREFIX}/include/scintilla/.scintilla-gtk1)
+IGNORE=		requires x11-toolkits/scintilla to be built with GTK1
 	${MKDIR} ${PREFIX}/include/scintilla
 	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/scintilla
@@ -29,4 +35,4 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/libgtkscintilla.so.0 ${PREFIX}/lib
 	${LN} -sf ${PREFIX}/lib/libgtkscintilla.so.0 ${PREFIX}/lib/libgtkscintilla.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- gtkscintilla-0.8.2_5.patch ends here ---


More information about the freebsd-ports-bugs mailing list