diff options
Diffstat (limited to 'x11-toolkits/gtk30/Makefile')
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index 5b76495b8d33..0487187b86e7 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk PORTVERSION= 2.0.7 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.0,} \ ftp://ftp.gtk.org/pub/gtk/v2.0/ \ @@ -37,8 +38,7 @@ USE_GNOMENG= yes USE_GNOME= gnomehack INSTALLS_SHLIB= yes USE_LIBTOOL= yes -CONFIGURE_ARGS= --enable-static \ - --with-xinput=xfree +CONFIGURE_ARGS= --enable-static CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -47,6 +47,10 @@ PLIST_SUB= GTK_VERSION="2.0.0" MAN1= gdk-pixbuf-csource.1 +.if defined(WITH_XINPUT) +CONFIGURE_ARGS+= --with-xinput=xfree +.endif + post-extract: @find ${WRKSRC} -name "Makefile.in" | xargs ${GREP} -l lgmodule | \ xargs ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' |