diff options
author | marcus <marcus@FreeBSD.org> | 2007-05-20 06:01:13 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2007-05-20 06:01:13 +0800 |
commit | 3cd8209a03f8009623b914f1b67160bfab1c3c8f (patch) | |
tree | 8144eb5df066cbb0ac1d9d8779ea79ff5e5026c7 /x11-toolkits/gtk20 | |
parent | de7bde33b15ed0109c9b689dbbbb3a59442a2675 (diff) | |
download | freebsd-ports-gnome-3cd8209a03f8009623b914f1b67160bfab1c3c8f.tar.gz freebsd-ports-gnome-3cd8209a03f8009623b914f1b67160bfab1c3c8f.tar.zst freebsd-ports-gnome-3cd8209a03f8009623b914f1b67160bfab1c3c8f.zip |
Remove support for a separate X11BASE.
Approved by: portmgr (implicit)
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 8b79e24cc61a..eedaf1abd334 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -8,7 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.10.12 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/v2.10/ \ @@ -45,8 +45,8 @@ USE_GETTEXT= yes USE_XLIB= yes 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" + -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" GTK_VERSION= 2.10.0 PLIST_SUB= GTK_VERSION="${GTK_VERSION}" @@ -73,8 +73,7 @@ post-patch: ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \ ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \ - s|%%X11BASE%%|${X11BASE}|g' \ + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/gtk/xdgmime/xdgmime.c # GnomeVFS needs pthread; gtk-demo may use GnomeVFS (via GtkFileChooser) @${REINPLACE_CMD} -e 's|@CFLAGS@|& ${PTHREAD_CFLAGS}|; \ diff --git a/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c b/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c index b39aaedd07b5..c33fc40e8264 100644 --- a/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c +++ b/x11-toolkits/gtk20/files/patch-gtk_xdgmime_xdgmime.c @@ -5,7 +5,7 @@ xdg_data_dirs = getenv ("XDG_DATA_DIRS"); if (xdg_data_dirs == NULL) - xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/"; ++ xdg_data_dirs = "/usr/local/share/gnome/:/usr/local/share/:/usr/share/"; ptr = xdg_data_dirs; |