diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
commit | c76cf46929051f9dd322487d888c82f104026e6d (patch) | |
tree | f415aeddadc6782b1474ebd88710bfa86cf08711 /mail/mmc | |
parent | Implement USE_GNOME, part 1. (diff) |
Implement USE_GNOME, part 2.
Notes
Notes:
svn path=/head/; revision=33429
Diffstat (limited to 'mail/mmc')
-rw-r--r-- | mail/mmc/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/mmc/Makefile b/mail/mmc/Makefile index c5068004a167..6081cf7d345e 100644 --- a/mail/mmc/Makefile +++ b/mail/mmc/Makefile @@ -14,19 +14,19 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1/-1/} MAINTAINER= sobomax@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//} USE_X_PREFIX= yes +USE_GNOME= yes GNU_CONFIGURE= yes - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - -CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ - CPPFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ + s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' + .include <bsd.port.mk> |