diff options
author | jlam <jlam> | 2001-06-26 16:30:55 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-26 16:30:55 +0000 |
commit | 13b47bcaf3dbf6a5e31f141ca30205c112994dbf (patch) | |
tree | 385aed669fbba2270d809f19c7a03a64c0a65323 /audio/libmikmod | |
parent | da549cbed41e9131c11113bee8f6e48e21888dfa (diff) | |
download | pkgsrc-13b47bcaf3dbf6a5e31f141ca30205c112994dbf.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/libmikmod')
-rw-r--r-- | audio/libmikmod/Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile index 140c25ee446..e3f8283792a 100644 --- a/audio/libmikmod/Makefile +++ b/audio/libmikmod/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2001/06/19 16:00:05 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2001/06/26 16:30:56 jlam Exp $ DISTNAME= libmikmod-3.1.9 CATEGORIES= audio @@ -15,6 +15,7 @@ USE_LIBTOOL= # defined USE_BUILDLINK_ONLY= # defined USE_CONFIG_WRAPPER= # defined +REPLACE_BUILDLINK= libmikmod-config CONFIGURE_ARGS+= --disable-threads LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig @@ -22,18 +23,5 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig pre-build: ${RM} -f ${WRKSRC}/docs/mikmod.info* -# Fix config scripts by removing buildlink directory references. -post-build: - @cd ${WRKSRC}; \ - config_scripts="libmikmod-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 "../../audio/esound/buildlink.mk" .include "../../mk/bsd.pkg.mk" |