aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-12-14 23:03:30 +0800
committeroliver <oliver@FreeBSD.org>2003-12-14 23:03:30 +0800
commitddcfd346dd56131ba03c48a59167b96fbf0e857a (patch)
tree765d6bd94373cccb351231c7a8b48050ba7fdeb3 /databases
parent415dcc1b34ed8b1c5748c8fea1200a5e8c271952 (diff)
downloadfreebsd-ports-graphics-ddcfd346dd56131ba03c48a59167b96fbf0e857a.tar.gz
freebsd-ports-graphics-ddcfd346dd56131ba03c48a59167b96fbf0e857a.tar.zst
freebsd-ports-graphics-ddcfd346dd56131ba03c48a59167b96fbf0e857a.zip
fix the compile when bison is installed
PR: ports/58589 Submitted By: Ryan Thompson <ryan@saskonw.com>
Diffstat (limited to 'databases')
-rw-r--r--databases/msql/Makefile6
-rw-r--r--databases/msql3/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/databases/msql/Makefile b/databases/msql/Makefile
index eebb17efb92..f63f4ed0b36 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
diff --git a/databases/msql3/Makefile b/databases/msql3/Makefile
index eebb17efb92..f63f4ed0b36 100644
--- a/databases/msql3/Makefile
+++ b/databases/msql3/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