diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-18 20:49:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-18 20:49:00 +0000 |
commit | 8f394194915e650f7066d8fb0d5567688c91553a (patch) | |
tree | df5a8812c3460da4de92cdac4be27d685b475a09 /net/ORBit/Makefile | |
parent | 5adffe4185151c2cc474c10e7e858059ff8a2e75 (diff) | |
download | pkgsrc-8f394194915e650f7066d8fb0d5567688c91553a.tar.gz |
Regularize fixes to config scripts to use the same code.
Diffstat (limited to 'net/ORBit/Makefile')
-rw-r--r-- | net/ORBit/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/net/ORBit/Makefile b/net/ORBit/Makefile index 5e646fc99ae..0a19257a6e4 100644 --- a/net/ORBit/Makefile +++ b/net/ORBit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.55 2001/06/16 20:02:10 jlam Exp $ +# $NetBSD: Makefile,v 1.56 2001/06/18 20:49:01 jlam Exp $ # DISTNAME= ORBit-0.${ORBIT_MAJOR}.${ORBIT_MINOR} @@ -39,14 +39,17 @@ INFO_FILES= libIDL.info pre-configure: cd ${WRKSRC}/popt && ${LOCALBASE}/bin/autoreconf --include-deps --force -# Fix libIDLConf.sh by removing buildlink directory references. +# Fix config scripts by removing buildlink directory references. post-build: - @cd ${WRKSRC}/libIDL; \ - ${MV} -f libIDLConf.sh libIDLConf.sh.fixme; \ - ${SED} -e "s|-I${BUILDLINK_DIR}/|-I${LOCALBASE}/|g" \ - -e "s|-L${BUILDLINK_DIR}/|-L${LOCALBASE}/|g" \ - libIDLConf.sh.fixme > libIDLConf.sh; \ - ${RM} -f libIDLConf.sh.fixme; \ - ${CHMOD} +x libIDLConf.sh + @cd ${WRKSRC}; \ + config_scripts="libIDL/libIDLConf.sh"; \ + for file in $${config_scripts}; do \ + ${MV} -f $${file} $${file}.fixme; \ + ${SED} -e "s|-I${BUILDLINK_DIR}/|-I${LOCALBASE}/|g" \ + -e "s|-L${BUILDLINK_DIR}/|-L${LOCALBASE}/|g" \ + $${file}.fixme > $${file}; \ + ${RM} -f $${file}.fixme; \ + ${CHMOD} +x $${file}; \ + done .include "../../mk/bsd.pkg.mk" |