ports/160224: building x11-toolkits/gtk30 fails

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Tue Jan 31 01:48:16 UTC 2012


This problem still exists.
Instead of above patch, using GNU sed can be solve the problem.
I do not want to use GNU sed, for it might be confusing the ports...
Here is a new patch:

--- Makefile.orig	2011-09-30 06:27:27.000000000 +0900
+++ Makefile	2012-01-31 06:50:40.000000000 +0900
@@ -31,7 +31,8 @@
 
 .if !defined(REFERENCE_PORT)
 
-BUILD_DEPENDS+=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
+BUILD_DEPENDS+=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
+		gsed:${PORTSDIR}/textproc/gsed
 RUN_DEPENDS+=	${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \
 		${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
 
@@ -46,7 +47,7 @@
 		xcomposite
 CONFIGURE_ARGS=	--enable-static --enable-xinput=yes
 CONFIGURE_ARGS+=--enable-gtk2-dependency
-CONFIGURE_ENV=	INTROSPECTION_GIRDIR=`pkg-config --variable=girdir gobject-introspection-1.0`
+CONFIGURE_ENV=	INTROSPECTION_GIRDIR=`pkg-config --variable=girdir gobject-introspection-1.0` SED=${LOCALBASE}/bin/gsed
 CPPFLAGS+=	-I${LOCALBASE}/include/freetype2 \
 		-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib


More information about the freebsd-gnome mailing list