diff options
author | drochner <drochner@pkgsrc.org> | 2002-12-03 11:14:01 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-12-03 11:14:01 +0000 |
commit | f8c17ef5640cfd50f9c5bc7f01632bd46e400dfa (patch) | |
tree | 682c82f572ab5cf0a587fdd6a861067355564c3a /sysutils/xcdroast | |
parent | 8b219bdf91401516ff3efa341e98bb9915f9fd4d (diff) | |
download | pkgsrc-f8c17ef5640cfd50f9c5bc7f01632bd46e400dfa.tar.gz |
put automatic ossaudio detection into operation
Diffstat (limited to 'sysutils/xcdroast')
-rw-r--r-- | sysutils/xcdroast/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/sysutils/xcdroast/Makefile b/sysutils/xcdroast/Makefile index 9d69cb98f66..e77958f1c0d 100644 --- a/sysutils/xcdroast/Makefile +++ b/sysutils/xcdroast/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2002/12/02 20:29:48 drochner Exp $ +# $NetBSD: Makefile,v 1.10 2002/12/03 11:14:01 drochner Exp $ DISTNAME= xcdroast-0.98alpha11 PKGNAME= xcdroast-0.98a11 @@ -18,21 +18,19 @@ USE_X11= YES GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} -#.if ${_OPSYS_HAS_OSSAUDIO} == "yes" +.if ${_OPSYS_HAS_OSSAUDIO} == "yes" CFLAGS+= -DHAVE_OSS -#.endif +.endif DOCDIR= ${PREFIX}/share/doc/xcdroast SUPPORT_FILES= /dev/null ${PKG_SYSCONFDIR}/xcdroast.conf -#pre-build: -# cd ${WRKSRC}; for file in io.c wavplay.c xcdroast.h; do \ -# ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ -# -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \ -# -e "s|@DEVOSSAUDIO@|${DEVOSSAUDIO}|g" \ -# $${file} > $${file}.fixed; \ -# ${MV} -f $${file}.fixed $${file}; \ -# done +pre-build: + cd ${WRKSRC}/src; for file in io.c wavplay.c; do \ + ${SED} -e "s|@DEVOSSAUDIO@|${DEVOSSAUDIO}|g" \ + $${file} > $${file}.fixed; \ + ${MV} -f $${file}.fixed $${file}; \ + done post-install: ${INSTALL_DATA_DIR} ${DOCDIR} |