diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-09-15 04:35:42 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-09-15 04:35:42 +0000 |
commit | 8c20164234b38aa5fcdf79a62beae6ee0915a8f8 (patch) | |
tree | 0a87c8449262418f07183a8f65b6af0cdc73b511 /audio/ecasound | |
parent | 01d130fc0c8b9cc6ebe209444d043530a87183d8 (diff) | |
download | ports-8c20164234b38aa5fcdf79a62beae6ee0915a8f8.tar.gz ports-8c20164234b38aa5fcdf79a62beae6ee0915a8f8.zip |
Make configure script find audio libs
Bump PORTREVISION
PR: 30058
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=47841
Diffstat (limited to 'audio/ecasound')
-rw-r--r-- | audio/ecasound/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/audio/ecasound/Makefile b/audio/ecasound/Makefile index 9430610ed685..20480e4a4b05 100644 --- a/audio/ecasound/Makefile +++ b/audio/ecasound/Makefile @@ -7,6 +7,7 @@ PORTNAME= ecasound PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://ecasound.seul.org/download/ \ ${MASTER_SITE_SOURCEFORGE} @@ -21,6 +22,9 @@ USE_AUTOCONF= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes +CONFIGURE_ARGS+= --enable-sys-readline +MAKE_ENV+= ${CONFIGURE_ENV} + .if defined(WITH_MPG123) RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 .endif @@ -34,6 +38,11 @@ RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod .endif .if defined(WITH_AUDIOFILE) +# very crappy hack to detect audiofile properly +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ + CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}" LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile .else CONFIGURE_ARGS+= --disable-audiofile @@ -43,21 +52,19 @@ CONFIGURE_ARGS+= --disable-audiofile #USE_PYTHON= yes #PLIST_SUB+= WITH_PYECASOUND="" #.else -#CONFIGURE_ARGS+= --disable-pyecasound -#PLIST_SUB+= WITH_PYECASOUND="@comment " +CONFIGURE_ARGS+= --disable-pyecasound +PLIST_SUB+= WITH_PYECASOUND="@comment " #.endif MAN1= ecasound-iam.1 ecasound.1 ecatools.1 MAN5= ecasoundrc.5 -#post-install: post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/ecasound ${MKDIR} ${PREFIX}/share/doc/ecasound/programmers_guide ${MKDIR} ${PREFIX}/share/doc/ecasound/users_guide - ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html \ - ${WRKSRC}/Documentation/*.txt \ + ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html ${WRKSRC}/Documentation/*.txt \ ${PREFIX}/share/doc/ecasound ${INSTALL_MAN} ${WRKSRC}/Documentation/programmers_guide/*.html \ ${PREFIX}/share/doc/ecasound/programmers_guide |