Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2012 10:25:06 +0900
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        bug-followup@FreeBSD.org, gnome@FreeBSD.org, turutani@scphys.kyoto-u.ac.jp
Subject:   Re: ports/160224: building x11-toolkits/gtk30 fails
Message-ID:  <201201310125.AA01624@POLYMER5.scphys.kyoto-u.ac.jp>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201310125.AA01624>