diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-01-26 09:59:27 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-01-26 09:59:27 +0000 |
commit | 14abf04a470c86050aee44cc44a7baf158da6e1a (patch) | |
tree | 44f17878add858bb775c4c77043ff0994b7b0c19 /databases/pgbash | |
parent | 7c4ce11a5a858c67a660cb4d941248872a5e7a15 (diff) | |
download | ports-14abf04a470c86050aee44cc44a7baf158da6e1a.tar.gz ports-14abf04a470c86050aee44cc44a7baf158da6e1a.zip |
Notes
Diffstat (limited to 'databases/pgbash')
-rw-r--r-- | databases/pgbash/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/databases/pgbash/Makefile b/databases/pgbash/Makefile index a1fe546b9857..9f239e6dc349 100644 --- a/databases/pgbash/Makefile +++ b/databases/pgbash/Makefile @@ -22,26 +22,27 @@ LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql-client WRKSRC= ${WRKDIR}/pgbash-7.3/src/bash-2.05a +GNU_CONFIGURE= yes USE_GMAKE= yes USE_REINPLACE= yes +CONFIGURE_ARGS= --pginc-prefix=${LOCALBASE}/include --pglib-prefix=${LOCALBASE}/lib + post-extract: - ${ECHO_MSG} ">>> extracting bash" - ${TAR} -C ${WRKDIR}/pgbash-7.3/src -xzf ${DISTDIR}/bash-2.05a.tar.gz + @${ECHO_MSG} ">>> extracting bash" + @${TAR} -C ${WRKDIR}/pgbash-7.3/src -xzf ${DISTDIR}/bash-2.05a.tar.gz pre-configure: - ${REINPLACE_CMD} -e 's|/etc/pgbashrc|${PREFIX}/etc/pgbashrc|g' \ + @${REINPLACE_CMD} -e 's|/etc/pgbashrc|${PREFIX}/etc/pgbashrc|g' \ ${WRKDIR}/pgbash-7.3/src/bash-2.05a-patch/shell.c.patch .for i in Makefile.in.patch builtins-Makefile.in.patch \ builtins-declare.def.patch builtins-mkbuilrins.c.patch \ builtins-set.def.patch builtins-setattr.def.patch configure.in.patch \ configure.patch parse.y.patch shell.c.patch variables.c.patch - ${PATCH} -d ${WRKSRC} -p1 < ${WRKDIR}/pgbash-7.3/src/bash-2.05a-patch/${i} + @${ECHO_MSG} ">>> applying pg patches" + @${PATCH} -d ${WRKSRC} -p1 < ${WRKDIR}/pgbash-7.3/src/bash-2.05a-patch/${i} .endfor -do-configure: - cd ${WRKSRC}; ./configure --pginc-prefix=${LOCALBASE}/include --pglib-prefix=${LOCALBASE}/lib - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pgbash ${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/pgbash-7.3/rc/pgbashrc ${PREFIX}/etc/pgbashrc-dist |