aboutsummaryrefslogtreecommitdiff
path: root/databases/libgda3
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
commit548387be8002521e3aa9b0c8ae2b343d9d3520eb (patch)
treeec7ba00fd2a8b535baa75d1a42a0f7d7096519e9 /databases/libgda3
parentbcbf81722c6ee8e04ddbb164394bf1905b2a3fa4 (diff)
downloadports-548387be8002521e3aa9b0c8ae2b343d9d3520eb.tar.gz
ports-548387be8002521e3aa9b0c8ae2b343d9d3520eb.zip
Notes
Diffstat (limited to 'databases/libgda3')
-rw-r--r--databases/libgda3/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/databases/libgda3/Makefile b/databases/libgda3/Makefile
index f2128f1c914f..f70112b73ec3 100644
--- a/databases/libgda3/Makefile
+++ b/databases/libgda3/Makefile
@@ -23,6 +23,7 @@ LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
@@ -57,11 +58,11 @@ pre-extract:
.endif
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ @${REINPLACE_CMD} -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|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>