pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/faad2 just use CPPFLAGS.SunOS instead of OPSYS c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/daebcf5e78e5
branches:  trunk
changeset: 496512:daebcf5e78e5
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Jul 01 06:35:15 2005 +0000

description:
just use CPPFLAGS.SunOS instead of OPSYS conditional.

diffstat:

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

diffs (23 lines):

diff -r f28189d190b5 -r daebcf5e78e5 audio/faad2/Makefile
--- a/audio/faad2/Makefile      Fri Jul 01 04:31:05 2005 +0000
+++ b/audio/faad2/Makefile      Fri Jul 01 06:35:15 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/07/01 00:22:13 grant Exp $
+# $NetBSD: Makefile,v 1.26 2005/07/01 06:35:15 grant Exp $
 #
 
 DISTNAME=      faad2-2.0
@@ -28,12 +28,7 @@
 
 LIBS+=         -lm
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-CPPFLAGS+=             -D_FILE_OFFSET_BITS=64
-CPPFLAGS+=             -D_LARGEFILE_SOURCE=1
-.endif
+CPPFLAGS.SunOS+=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1
 
 pre-configure:
        @${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend



Home | Main Index | Thread Index | Old Index