diff options
author | marcus <marcus@FreeBSD.org> | 2002-07-28 09:27:25 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-07-28 09:27:25 +0800 |
commit | fb947f30bcadeb21a00a493326557efe11001959 (patch) | |
tree | 6d8b26970c83974ea2ccde5837953d228ebc9279 /devel/g2c | |
parent | 4ef0ee5c0742eddefe891581a58a37d2093b25fe (diff) | |
download | freebsd-ports-gnome-fb947f30bcadeb21a00a493326557efe11001959.tar.gz freebsd-ports-gnome-fb947f30bcadeb21a00a493326557efe11001959.tar.zst freebsd-ports-gnome-fb947f30bcadeb21a00a493326557efe11001959.zip |
Use USE_GNOMENG.
Diffstat (limited to 'devel/g2c')
-rw-r--r-- | devel/g2c/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/devel/g2c/Makefile b/devel/g2c/Makefile index 9b172ae36c24..98bc19d405cf 100644 --- a/devel/g2c/Makefile +++ b/devel/g2c/Makefile @@ -15,22 +15,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes -USE_GTK= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 gnomehack WANT_GNOME= yes GNU_CONFIGURE= yes USE_GMAKE= yes .include <bsd.port.pre.mk> -.if defined(HAVE_GNOME) -USE_GNOME= yes +.if ${HAVE_GNOME:Mbonobo} != "" && ${HAVE_GNOME:Mgnomedb} != "" +USE_GNOME= gnomeprefix bonobo gnomedb +PKGNAMESUFFIX= -gnome .endif -pre-patch: +post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ - s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' .include <bsd.port.post.mk> |