diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-11-29 10:08:19 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-11-29 10:08:19 +0000 |
commit | 61e185ce29b327aa234b26fea03626296a06604e (patch) | |
tree | d8a879354ffb715b7415b311053b0c41b65871e1 /audio/libvorbis/Makefile | |
parent | ca004ea7239c98c7c1726f898abe1106dba97bc0 (diff) | |
download | FreeBSD-ports-61e185ce29b327aa234b26fea03626296a06604e.zip FreeBSD-ports-61e185ce29b327aa234b26fea03626296a06604e.tar.gz |
- Add pre-generated aclocal.m4, because aclocal sucks if several versions of
m4 macros for the same software installed (for example sld.m4 & sdl11.m4);
- eliminate duplicate calls to automake and friends;
- remove redundant GNU_CONFIGURE;
- tweak CPPFLAGS instead of CFLAGS;
- fix pthread detection.
Diffstat (limited to 'audio/libvorbis/Makefile')
-rw-r--r-- | audio/libvorbis/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/libvorbis/Makefile b/audio/libvorbis/Makefile index c3ede23..8fe7cb8 100644 --- a/audio/libvorbis/Makefile +++ b/audio/libvorbis/Makefile @@ -15,22 +15,19 @@ MAINTAINER= t.vanklaveren@student.utwente.nl LIB_DEPENDS= ogg.0:${PORTSDIR}/audio/libogg -GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/vorbis + USE_GMAKE= yes USE_LIBTOOL= yes USE_AUTOMAKE= yes -WRKSRC= ${WRKDIR}/vorbis - -ACLOCAL?= ${LOCALBASE}/bin/aclocal -AUTOHEADER?= ${LOCALBASE}/bin/autoheader -CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --with-ogg=${LOCALBASE} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" AUTOMAKE_ARGS= --add-missing +AUTOCONF_ARGS= ; ${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure + +AUTOHEADER?= ${LOCALBASE}/bin/autoheader -post-patch: - cd ${WRKSRC} && ${ACLOCAL} +pre-configre: cd ${WRKSRC} && ${AUTOHEADER} - cd ${WRKSRC} && ${AUTOMAKE} --add-missing - cd ${WRKSRC} && ${AUTOCONF} .include <bsd.port.mk> |