diff options
author | clement <clement@FreeBSD.org> | 2004-01-26 17:59:27 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-26 17:59:27 +0800 |
commit | cfe05ef632c88d4742298d8996a8b8544052a2e6 (patch) | |
tree | b73e753e6cd5853432a7cd32cdeb509c0c432513 /databases | |
parent | 47b691f36fefd404da7fafdcfc7d0db80856055e (diff) | |
download | freebsd-ports-gnome-cfe05ef632c88d4742298d8996a8b8544052a2e6.tar.gz freebsd-ports-gnome-cfe05ef632c88d4742298d8996a8b8544052a2e6.tar.zst freebsd-ports-gnome-cfe05ef632c88d4742298d8996a8b8544052a2e6.zip |
- Use GNU_CONFIGURE
PR: 61860
Submitted by: Sascha Holzleiter <sascha@root-login.org> (maintainer)
Diffstat (limited to 'databases')
-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 |