summaryrefslogtreecommitdiffstats
path: root/databases/msql
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-12-14 15:03:30 +0000
committeroliver <oliver@FreeBSD.org>2003-12-14 15:03:30 +0000
commitddcfd346dd56131ba03c48a59167b96fbf0e857a (patch)
tree765d6bd94373cccb351231c7a8b48050ba7fdeb3 /databases/msql
parent415dcc1b34ed8b1c5748c8fea1200a5e8c271952 (diff)
downloadFreeBSD-ports-ddcfd346dd56131ba03c48a59167b96fbf0e857a.zip
FreeBSD-ports-ddcfd346dd56131ba03c48a59167b96fbf0e857a.tar.gz
fix the compile when bison is installed
PR: ports/58589 Submitted By: Ryan Thompson <ryan@saskonw.com>
Diffstat (limited to 'databases/msql')
-rw-r--r--databases/msql/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/msql/Makefile b/databases/msql/Makefile
index eebb17e..f63f4ed 100644
--- a/databases/msql/Makefile
+++ b/databases/msql/Makefile
@@ -15,6 +15,7 @@ COMMENT= The Mini SQL server, version 2
INSTALLS_SHLIB= YES
USE_PERL5= YES
+USE_REINPLACE= YES
# Not free for commercial use.
RESTRICTED= "restrictive copyright (no commercial use)"
@@ -29,6 +30,8 @@ MAKE_ENV+= WRKSRC=${WRKSRC}
post-patch:
cd ${FILESDIR}; \
cp slibinstall.mm slibrary_unix.mm ${WRKSRC}/src/makegen
+ @${REINPLACE_CMD} -e "s|'bison -y' byacc|byacc 'bison -y'|g" \
+ ${WRKSRC}/src/conf/configure
do-configure:
cd ${WRKSRC}; ${MAKE} target
@@ -37,7 +40,8 @@ do-configure:
pre-install:
@${SETENV} ${MAKE_ENV} ${PERL} ${SCRIPTDIR}/check_old_version
- PKG_PREFIX=${PREFIX} ./pkg-install ${PKGNAME} PRE-INSTALL
+ pwd
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/scripts/run_daemon ${PREFIX}/bin
OpenPOWER on IntegriCloud