aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-25 02:38:54 +0800
committermarcus <marcus@FreeBSD.org>2003-09-25 02:38:54 +0800
commitdd1293042da1ade073b1dea1bdea5267d210b6bb (patch)
treebf86aa82387b22bf2cac06f6e7535d33b9816469 /x11-toolkits/gtk20
parent8ce909bcc76cde59d3ab17d3876cc1a1ce0e7a2a (diff)
downloadfreebsd-ports-gnome-dd1293042da1ade073b1dea1bdea5267d210b6bb.tar.gz
freebsd-ports-gnome-dd1293042da1ade073b1dea1bdea5267d210b6bb.tar.zst
freebsd-ports-gnome-dd1293042da1ade073b1dea1bdea5267d210b6bb.zip
* 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 <wisnia21@freeshell.org> [1]
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r--x11-toolkits/gtk20/Makefile11
1 files changed, 7 insertions, 4 deletions
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*