aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk20/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-11 00:41:01 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-11 00:41:01 +0000
commitafb5ebeffc67bd24361e756a837a3390334a17d5 (patch)
tree87dd14744d2cee63d8c5083f89c23617c1a166f7 /x11-toolkits/gtk20/Makefile
parent877a31bf63b2ec73eb68059be77b8da8077d765c (diff)
downloadports-afb5ebeffc67bd24361e756a837a3390334a17d5.tar.gz
ports-afb5ebeffc67bd24361e756a837a3390334a17d5.zip
Notes
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r--x11-toolkits/gtk20/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 68019d86dfc8..a608a77edcc0 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gtk
-PORTVERSION= 2.2.1
-PORTREVISION= 1
+PORTVERSION= 2.2.2
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
@@ -39,7 +38,7 @@ USE_GNOME= gnomehack atk pango
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
-I${LOCALBASE}/include -I${X11BASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
PLIST_SUB= GTK_VERSION="2.2.0"
MAN1= gdk-pixbuf-csource.1
@@ -47,10 +46,6 @@ 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'
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|[(]libdir[)]/locale|(prefix)/share/locale|g' \
- ${WRKSRC}/po/Makefile.in.in
pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*