diff options
author | oliver <oliver@FreeBSD.org> | 2003-12-14 15:03:30 +0000 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-12-14 15:03:30 +0000 |
commit | ddcfd346dd56131ba03c48a59167b96fbf0e857a (patch) | |
tree | 765d6bd94373cccb351231c7a8b48050ba7fdeb3 | |
parent | 415dcc1b34ed8b1c5748c8fea1200a5e8c271952 (diff) | |
download | FreeBSD-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>
-rw-r--r-- | databases/msql/Makefile | 6 | ||||
-rw-r--r-- | databases/msql3/Makefile | 6 |
2 files changed, 10 insertions, 2 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 diff --git a/databases/msql3/Makefile b/databases/msql3/Makefile index eebb17e..f63f4ed 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 |