aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-06-26 11:28:37 +0800
committermarcus <marcus@FreeBSD.org>2004-06-26 11:28:37 +0800
commitd16c96bd099c7c2ebba94d296660659798ef8a50 (patch)
tree2a76b49dcafc6264be1162f63fadc95d46c94b0a /x11-toolkits/gtk20/Makefile
parentec42cd092e6b11dd74e12bef81f9e08f113a31d7 (diff)
downloadfreebsd-ports-gnome-d16c96bd099c7c2ebba94d296660659798ef8a50.tar.gz
freebsd-ports-gnome-d16c96bd099c7c2ebba94d296660659798ef8a50.tar.zst
freebsd-ports-gnome-d16c96bd099c7c2ebba94d296660659798ef8a50.zip
Add support for a mime database in ${X11BASE} as well as ${LOCALBASE}.
Requested by: pav
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r--x11-toolkits/gtk20/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 9acc0c1e6219..e14465dcd511 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.4.3
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.4,} \
ftp://ftp.gtk.org/pub/gtk/v2.3/ \
@@ -66,7 +67,8 @@ 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' \
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
+ s|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/gtk/xdgmime/xdgmime.c
pre-build: