summaryrefslogtreecommitdiffstats
path: root/databases/sqlrelay/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-27 17:54:01 +0000
committerknu <knu@FreeBSD.org>2002-10-27 17:54:01 +0000
commit0c666b5ba3a468787ac50aad7ddff05640f220f6 (patch)
tree83104a62b1ee7802233df5e19710e5c17c8b05f2 /databases/sqlrelay/Makefile
parent240fe623cfa815245b1ea3792591d975cb8950b9 (diff)
downloadFreeBSD-ports-0c666b5ba3a468787ac50aad7ddff05640f220f6.zip
FreeBSD-ports-0c666b5ba3a468787ac50aad7ddff05640f220f6.tar.gz
Update to 0.32.
USE_REINPLACE.
Diffstat (limited to 'databases/sqlrelay/Makefile')
-rw-r--r--databases/sqlrelay/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index a6f24eb..f933413 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -7,7 +7,6 @@
PORTNAME= ${SQLRELAY_PORTNAME}
PORTVERSION= ${SQLRELAY_PORTVERSION}
-PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.firstworks.com/downloads/sqlrelay/
@@ -17,6 +16,7 @@ LIB_DEPENDS= rudiments.0:${PORTSDIR}/devel/rudiments \
xml2.5:${PORTSDIR}/textproc/libxml2 \
iconv.3:${PORTSDIR}/converters/libiconv
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
@@ -136,10 +136,14 @@ post-extract:
${LN} -s ${LOCALBASE}/lib ${WRKDIR}/prefixes/libxml/lib
post-patch:
- ${PERL} -i -p \
- -e 's,/usr/local\b,${PREFIX},g;' \
- -e 's,\bgtk-config\b,${GTK_CONFIG:T},g;' \
+ ${REINPLACE_CMD} -E \
+ -e 's,/usr/local[[:>:]],${PREFIX},g;' \
+ -e 's,[[:<:]]gtk-config[[:>:]],${GTK_CONFIG:T},g;' \
${WRKSRC}/configure
+ ${REINPLACE_CMD} -E \
+ -e 's,\.so\.\$$\(SQLR_VERSION\),\.so\.$$(basename $$(SQLR_VERSION)),g;' \
+ ${WRKSRC}/src/api/c/src/Makefile \
+ ${WRKSRC}/src/api/c++/src/Makefile
post-install:
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud