diff options
author | grant <grant@pkgsrc.org> | 2004-05-15 13:03:20 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-05-15 13:03:20 +0000 |
commit | 6207df3d565540e7c15f7ac6b19d1a4aaf146893 (patch) | |
tree | eea95360de83b42e10448c779c0f61ce6f3c57c7 /audio/faad2 | |
parent | 911640f9e44b912bff976e4c83da7533192dac2e (diff) | |
download | pkgsrc-6207df3d565540e7c15f7ac6b19d1a4aaf146893.tar.gz |
explicitly enable largefile support on Solaris.
Diffstat (limited to 'audio/faad2')
-rw-r--r-- | audio/faad2/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/faad2/Makefile b/audio/faad2/Makefile index cbc4d89ad34..24aead1c616 100644 --- a/audio/faad2/Makefile +++ b/audio/faad2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2004/05/03 00:41:56 grant Exp $ +# $NetBSD: Makefile,v 1.18 2004/05/15 13:03:20 grant Exp $ # DISTNAME= faad2-2.0 @@ -28,6 +28,13 @@ CONFIGURE_ARGS+= --with-mp4v2 # Avoid an ICE in gcc2 on sparc64 CONFIGURE_ENV+= F77=${FALSE} +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +CPPFLAGS+= -D_FILE_OFFSET_BITS=64 +CPPFLAGS+= _D_LARGEFILE_SOURCE=1 +.endif + pre-configure: ${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend for dir in . ; do \ |