summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-26 16:30:55 +0000
committerjlam <jlam@pkgsrc.org>2001-06-26 16:30:55 +0000
commit31d1b3af609f42346967b9fb58a27994223eba51 (patch)
tree385aed669fbba2270d809f19c7a03a64c0a65323 /net
parentea0bbe8c3df1779150d21e5b46cfb88c524ecb35 (diff)
downloadpkgsrc-31d1b3af609f42346967b9fb58a27994223eba51.tar.gz
Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
Diffstat (limited to 'net')
-rw-r--r--net/ORBit/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/net/ORBit/Makefile b/net/ORBit/Makefile
index 5e8e7e73b91..81995309dc9 100644
--- a/net/ORBit/Makefile
+++ b/net/ORBit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2001/06/19 03:55:30 jlam Exp $
+# $NetBSD: Makefile,v 1.58 2001/06/26 16:30:57 jlam Exp $
#
DISTNAME= ORBit-0.${ORBIT_MAJOR}.${ORBIT_MINOR}
@@ -24,6 +24,7 @@ LTCONFIG_OVERRIDE+= ${WRKSRC}/libIDL/ltconfig
GNU_CONFIGURE= YES
USE_CONFIG_WRAPPER= YES
USE_BUILDLINK_ONLY= YES
+REPLACE_BUILDLINK= libIDL/libIDLConf.sh
# for DISTNAME, PKGNAME, and PLIST
ORBIT_MAJOR= 5
@@ -40,17 +41,4 @@ INFO_FILES= libIDL.info
pre-configure:
cd ${WRKSRC}/popt && ${LOCALBASE}/bin/autoreconf --include-deps --force
-# Fix config scripts by removing buildlink directory references.
-post-build:
- @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"