diff options
Diffstat (limited to 'mail/mmc/Makefile')
-rw-r--r-- | mail/mmc/Makefile | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/mail/mmc/Makefile b/mail/mmc/Makefile index c2cd77f8677d..003f0def5774 100644 --- a/mail/mmc/Makefile +++ b/mail/mmc/Makefile @@ -10,7 +10,6 @@ PORTVERSION= 0.5 CATEGORIES= mail gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1/-1/} MAINTAINER= ports@FreeBSD.org COMMENT= A tiny mail client for Gnome Desktop @@ -18,22 +17,11 @@ COMMENT= A tiny mail client for Gnome Desktop WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//} USE_X_PREFIX= yes -USE_GNOME= yes +USE_GNOME= gnomehack gnomelibs gnomeprefix GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.include <bsd.port.pre.mk> +CFLAGS+= -fpermissive -.if ${OSVERSION} > 500000 -BROKEN= "Does not compile" -.endif - -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$$\(gnomedatadir\)/gnome/|\$$\(datadir\)/|g ; \ - s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |