diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-26 16:30:55 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-26 16:30:55 +0000 |
commit | 31d1b3af609f42346967b9fb58a27994223eba51 (patch) | |
tree | 385aed669fbba2270d809f19c7a03a64c0a65323 /audio/esound | |
parent | ea0bbe8c3df1779150d21e5b46cfb88c524ecb35 (diff) | |
download | pkgsrc-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 'audio/esound')
-rw-r--r-- | audio/esound/Makefile | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/audio/esound/Makefile b/audio/esound/Makefile index 8ecfad955d3..ab061ae97a0 100644 --- a/audio/esound/Makefile +++ b/audio/esound/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2001/06/19 04:00:48 jlam Exp $ +# $NetBSD: Makefile,v 1.23 2001/06/26 16:30:55 jlam Exp $ DISTNAME= esound-0.2.22 CATEGORIES= audio @@ -14,21 +14,8 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig USE_BUILDLINK_ONLY= YES USE_CONFIG_WRAPPER= YES +REPLACE_BUILDLINK= esd-config .include "../../audio/libaudiofile/buildlink.mk" .include "../../devel/libgetopt/buildlink.mk" - -# Fix config scripts by removing buildlink directory references. -post-build: - @cd ${WRKSRC}; \ - config_scripts="esd-config"; \ - 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" |