diff options
Diffstat (limited to 'lang/gnomebasic/Makefile')
-rw-r--r-- | lang/gnomebasic/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lang/gnomebasic/Makefile b/lang/gnomebasic/Makefile index eb5ebb719c22..f70f7a9904a2 100644 --- a/lang/gnomebasic/Makefile +++ b/lang/gnomebasic/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gnomebasic -PORTVERSION= 0.0.18 +PORTVERSION= 0.0.20 CATEGORIES= lang gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= unstable/sources/gb @@ -17,9 +17,16 @@ MAINTAINER= gnome@FreeBSD.org USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOME= yes -USE_LIBTOOL= yes +GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" +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|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + .include <bsd.port.mk> |