pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/acroread Move the ONLY_FOR_PLATFORM out from an ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f3d86b77ee9
branches:  trunk
changeset: 496717:0f3d86b77ee9
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Jul 09 17:34:42 2005 +0000

description:
Move the ONLY_FOR_PLATFORM out from an .if so that we do not try
to build this on unsupported OPSYS (such as Darwin)

diffstat:

 print/acroread/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 13cb19944798 -r 0f3d86b77ee9 print/acroread/Makefile
--- a/print/acroread/Makefile   Sat Jul 09 17:32:47 2005 +0000
+++ b/print/acroread/Makefile   Sat Jul 09 17:34:42 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2005/06/30 13:22:19 hubertf Exp $
+# $NetBSD: Makefile,v 1.43 2005/07/09 17:34:42 kristerw Exp $
 
 DISTNAME=      acroread        # Overridden below
 PKGNAME=       acroread-4.05
@@ -27,6 +27,10 @@
 # Default (should be overridden below)
 PLATFORM=      unknown
 
+ONLY_FOR_PLATFORM=     NetBSD-*-i386 NetBSD-1.4[L-Z]-sparc \
+                       NetBSD-1.[5-9]*-sparc NetBSD-[2-9]*-sparc \
+                       SunOS-*-*
+
 .if ${OPSYS} == "NetBSD"
 . if (${MACHINE_ARCH} == "i386")
 DEPENDS=       suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
@@ -48,8 +52,6 @@
 WRKSRC=                ${WRKDIR}/SSOLRS.install
 PLATFORM=      sparcsolaris
 . endif
-ONLY_FOR_PLATFORM=     *-*-i386 *-1.4[L-Z]-sparc *-1.[5-9]*-sparc *-[2-9]*-sparc
-# *-*-alpha
 .include "../../emulators/suse_linux/Makefile.application"
 .elif ${OPSYS} == "SunOS"
 . if (${MACHINE_ARCH} == "i386")



Home | Main Index | Thread Index | Old Index