From dd1293042da1ade073b1dea1bdea5267d210b6bb Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 24 Sep 2003 18:38:54 +0000 Subject: * Fix l10n bug with the locale directory [1] * Add XInput support * Add a gtk20 LATEST_LINK * Replace find with ${FIND} and xargs with ${XARGS} Reported by: Marcin Wisnicki [1] --- x11-toolkits/gtk20/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'x11-toolkits/gtk20') diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 8742df0ef70c..0d3cccbc72f6 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk PORTVERSION= 2.2.4 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \ ftp://ftp.gtk.org/pub/gtk/v2.0/ \ @@ -27,7 +28,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg USE_BZIP2= yes -NO_LATEST_LINK= yes +LATEST_LINK= gtk20 USE_X_PREFIX= yes USE_XPM= yes USE_REINPLACE= yes @@ -35,7 +36,7 @@ USE_PERL5= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes USE_GNOME= gnomehack atk pango -CONFIGURE_ARGS= --enable-static +CONFIGURE_ARGS= --enable-static --with-xinput=yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" @@ -44,8 +45,10 @@ PLIST_SUB= GTK_VERSION="2.2.0" MAN1= gdk-pixbuf-csource.1 post-patch: - @find ${WRKSRC} -name "Makefile.in" | xargs ${GREP} -l lgmodule | \ - xargs ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \ + ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' + @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \ + ${WRKSRC}/configure pre-build: ${RM} -rf ${WRKSRC}/docs/gtk.info* -- cgit