pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/faad2 explicitly enable largefile support on Sol...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/876fc39a238a
branches:  trunk
changeset: 475387:876fc39a238a
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat May 15 13:03:20 2004 +0000

description:
explicitly enable largefile support on Solaris.

diffstat:

 audio/faad2/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r b3310d8f0ee2 -r 876fc39a238a audio/faad2/Makefile
--- a/audio/faad2/Makefile      Sat May 15 13:01:02 2004 +0000
+++ b/audio/faad2/Makefile      Sat May 15 13:03:20 2004 +0000
@@ -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 @@
 # 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                                       \



Home | Main Index | Thread Index | Old Index