diff options
author | cjep <cjep@pkgsrc.org> | 2003-01-04 12:52:20 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2003-01-04 12:52:20 +0000 |
commit | a51c621d9e0d4066ea51b341aeac842104f43a0f (patch) | |
tree | c7f9c86fa3aeaf25b7240200a189d9194a93c2a5 /print | |
parent | 0a281496687347f3dc6e7fc332e97140cfcfba54 (diff) | |
download | pkgsrc-a51c621d9e0d4066ea51b341aeac842104f43a0f.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')
-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} |