diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-16 19:50:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-16 19:50:57 +0000 |
commit | 0f5b5101f41b5f885ac5df67cd3264f2b7708f76 (patch) | |
tree | 99320549cecfb7f8c85c874987b3ac016e76f4b9 /audio/esound | |
parent | 35b12a3c8030bff3dc854236a2c67bb5afc570cb (diff) | |
download | pkgsrc-0f5b5101f41b5f885ac5df67cd3264f2b7708f76.tar.gz |
Convrt to use buildlink.mk.
Diffstat (limited to 'audio/esound')
-rw-r--r-- | audio/esound/Makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/audio/esound/Makefile b/audio/esound/Makefile index c2a5f34730e..f82c3775dc2 100644 --- a/audio/esound/Makefile +++ b/audio/esound/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2001/04/06 22:41:37 rh Exp $ +# $NetBSD: Makefile,v 1.20 2001/06/16 19:50:57 jlam Exp $ DISTNAME= esound-0.2.22 CATEGORIES= audio @@ -8,10 +8,23 @@ MAINTAINER= root@garbled.net HOMEPAGE= http://www.tux.org/~ricdude/EsounD.html COMMENT= the Enlightened sound daemon -DEPENDS+= libaudiofile-*:../../audio/libaudiofile - GNU_CONFIGURE= YES USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +USE_CONFIG_WRAPPER= YES + +.include "../../audio/libaudiofile/buildlink.mk" +.include "../../devel/libgetopt/buildlink.mk" + +# Fix esd-config by removing buildlink directory references. +post-build: + @cd ${WRKSRC}; \ + ${MV} -f esd-config esd-config.fixme; \ + ${SED} -e "/^audiofile/s|-I${BUILDLINK_DIR}/|-I${LOCALBASE}/|g" \ + -e "/^audiofile/s|-L${BUILDLINK_DIR}/|-L${LOCALBASE}/|g" \ + esd-config.fixme > esd-config; \ + ${RM} -f esd-config.fixme; \ + ${CHMOD} +x esd-config + .include "../../mk/bsd.pkg.mk" |