diff options
-rw-r--r-- | lang/gnomebasic/Makefile | 9 | ||||
-rw-r--r-- | lang/gnomebasic/files/patch-gbrun::Makefile.in | 14 |
2 files changed, 19 insertions, 4 deletions
diff --git a/lang/gnomebasic/Makefile b/lang/gnomebasic/Makefile index f70f7a9904a..74dfa152e0a 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> diff --git a/lang/gnomebasic/files/patch-gbrun::Makefile.in b/lang/gnomebasic/files/patch-gbrun::Makefile.in new file mode 100644 index 00000000000..aeb4558b783 --- /dev/null +++ b/lang/gnomebasic/files/patch-gbrun::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- gbrun/Makefile.in 2002/06/21 13:21:30 1.1 ++++ gbrun/Makefile.in 2002/06/21 13:22:29 +@@ -152,7 +152,7 @@ + libgbrun_la_LIBADD = $(EXTRA_GNOME_LIBS) -lm @GLIB_LIBS@ $(top_builddir)/gbrun/objects/libgbobj.la $(top_builddir)/gbrun/objects/gba/libgba.la $(top_builddir)/gb/libgb.la + + +-CFLAGS = -g -Wall $(EXTRA_GNOME_CFLAGS) ++CFLAGS = @CFLAGS@ -Wall $(EXTRA_GNOME_CFLAGS) + + libgbrunincludedir = $(includedir)/gbrun + |