summaryrefslogtreecommitdiff
path: root/audio/faad2/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-07-01 06:35:15 +0000
committergrant <grant@pkgsrc.org>2005-07-01 06:35:15 +0000
commitfa3c7b2267115cf39fefe2ff833c35273866508a (patch)
tree9b86af0458e67db9892e6749feee7e0b94a48841 /audio/faad2/Makefile
parentc84cc1d5d53b41568c64d438aca85227e8128e76 (diff)
downloadpkgsrc-fa3c7b2267115cf39fefe2ff833c35273866508a.tar.gz
just use CPPFLAGS.SunOS instead of OPSYS conditional.
Diffstat (limited to 'audio/faad2/Makefile')
-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