[Midnightbsd-cvs] mports [17582] trunk/x11-toolkits/gtk20/Makefile: turn on options sub

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 27 13:18:11 EDT 2014


Revision: 17582
          http://svnweb.midnightbsd.org/mports/?rev=17582
Author:   laffer1
Date:     2014-09-27 13:18:09 -0400 (Sat, 27 Sep 2014)
Log Message:
-----------
turn on options sub

Modified Paths:
--------------
    trunk/x11-toolkits/gtk20/Makefile

Modified: trunk/x11-toolkits/gtk20/Makefile
===================================================================
--- trunk/x11-toolkits/gtk20/Makefile	2014-09-27 16:55:37 UTC (rev 17581)
+++ trunk/x11-toolkits/gtk20/Makefile	2014-09-27 17:18:09 UTC (rev 17582)
@@ -25,7 +25,8 @@
 USE_PYTHON=	2.5-2.7
 USE_LDCONFIG=	yes
 USE_GNOME=	atk pango gdkpixbuf2 gtk-update-icon-cache introspection:build
-USES+=		gettext gmake libtool:keepla pathfix pkgconfig
+USES+=		gettext gmake libtool:keepla pathfix perl5 pkgconfig
+GNU_CONFIGURE=	yes
 USE_XORG=	xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \
 		xcomposite xau xdmcp xproto
 CONFIGURE_ARGS=	--with-xinput=yes
@@ -32,9 +33,11 @@
 CPPFLAGS+=	-I${LOCALBASE}/include/freetype2 \
 		-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	CUPS DEBUG
 OPTIONS_DEFAULT=CUPS
+OPTIONS_SUB=	yes
 
 CUPS_LIB_DEPENDS=	libcups.so:${PORTSDIR}/print/cups-client
 CUPS_CONFIGURE_ON=	--enable-cups=auto
@@ -50,12 +53,6 @@
 	@${REINPLACE_CMD} -e 's|file,cups|file,cups,lpr|' \
 		${WRKSRC}/gtk/Makefile.in
 
-pre-configure:
-.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc)
-	@${ECHO_CMD} "${PKGNAME}: Needs cairo with X11 support enabled."
-	@${FALSE}
-.endif
-
 pre-build:
 	@${RM} -rf ${WRKSRC}/docs/gtk.info*
 



More information about the Midnightbsd-cvs mailing list