summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorgrant <grant>2005-07-01 06:35:15 +0000
committergrant <grant>2005-07-01 06:35:15 +0000
commitd7fac399bf33bb5d389dd81af4aa49867cf30032 (patch)
tree9b86af0458e67db9892e6749feee7e0b94a48841 /audio
parent47641dd7fce3dd6d0d1c953b3dcb1e4ce3dc8a44 (diff)
downloadpkgsrc-d7fac399bf33bb5d389dd81af4aa49867cf30032.tar.gz
just use CPPFLAGS.SunOS instead of OPSYS conditional.
Diffstat (limited to 'audio')
-rw-r--r--audio/faad2/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/audio/faad2/Makefile b/audio/faad2/Makefile
index 4fbb4bc206a..187660822ed 100644
--- a/audio/faad2/Makefile
+++ b/audio/faad2/Makefile
@@ -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 @@ CONFIGURE_ENV+= F77=${FALSE}
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