diff options
author | cjep <cjep> | 2003-01-04 12:52:20 +0000 |
---|---|---|
committer | cjep <cjep> | 2003-01-04 12:52:20 +0000 |
commit | 19cd70e15131446861015a6df938c33f3ba712b6 (patch) | |
tree | c7f9c86fa3aeaf25b7240200a189d9194a93c2a5 /print/acroread | |
parent | 8cba805567adeff4bd9cbaf6c1b670951aee2be1 (diff) | |
download | pkgsrc-19cd70e15131446861015a6df938c33f3ba712b6.tar.gz |
Move default DISTNAME and PLATFORM further up the makefile. This has no
effect on valid platforms.
On invalid platforms (such as NetBSD/arm), we get the proper
===> acroread-4.05 is not available for NetBSD-1.6-arm
message rather than Malformed conditional errors.
Diffstat (limited to 'print/acroread')
-rw-r--r-- | print/acroread/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile index 5619220e4e2..0d6518fa7b5 100644 --- a/print/acroread/Makefile +++ b/print/acroread/Makefile @@ -1,5 +1,6 @@ -# $NetBSD: Makefile,v 1.33 2002/12/07 02:39:02 schmonz Exp $ +# $NetBSD: Makefile,v 1.34 2003/01/04 12:52:20 cjep Exp $ +DISTNAME= acroread # Overridden below PKGNAME= acroread-4.05 CATEGORIES= print MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/4.x/ @@ -21,6 +22,9 @@ SHLIB_HANDLING= NO .include "../../mk/bsd.prefs.mk" +# Default (should be overridden below) +PLATFORM= unknown + .if ${OPSYS} == "NetBSD" . if (${MACHINE_ARCH} == "i386") DEPENDS= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11 @@ -51,9 +55,6 @@ PLATFORM= sparcsolaris post-patch: ${CHMOD} -R o+rwx ${WRKSRC} -.else -DISTNAME= ${PKGNAME} -PLATFORM= unknown .endif PLIST_SUBST+= PLATFORM=${PLATFORM} |