diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-06-21 21:25:09 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-06-21 21:25:09 +0800 |
commit | 45fbf43e3b8622fc11b3fcd8a09fb95514ec9ac8 (patch) | |
tree | 6499f87845c6a1b7e3b8880e066401ca8404203d /lang/gnomebasic/Makefile | |
parent | 5c055ecf7699b1c752469a643c0b931e303cda4a (diff) | |
download | freebsd-ports-gnome-45fbf43e3b8622fc11b3fcd8a09fb95514ec9ac8.tar.gz freebsd-ports-gnome-45fbf43e3b8622fc11b3fcd8a09fb95514ec9ac8.tar.zst freebsd-ports-gnome-45fbf43e3b8622fc11b3fcd8a09fb95514ec9ac8.zip |
Respect CFLAGS instead of always incorporating debugging info into libgbrun
shared library, which boosts package size by 10x.
Diffstat (limited to 'lang/gnomebasic/Makefile')
-rw-r--r-- | lang/gnomebasic/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/gnomebasic/Makefile b/lang/gnomebasic/Makefile index f70f7a9904a2..74dfa152e0a1 100644 --- a/lang/gnomebasic/Makefile +++ b/lang/gnomebasic/Makefile @@ -17,16 +17,17 @@ MAINTAINER= gnome@FreeBSD.org USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOME= yes +USE_REINPLACE= 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 ; \ + @${REINPLACE_CMD} -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' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]datadir[)]/locale|(prefix)/share/locale|g' .include <bsd.port.mk> |