diff options
author | rillig <rillig@pkgsrc.org> | 2006-06-17 20:44:03 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-06-17 20:44:03 +0000 |
commit | 483173dd227550a48b743c7b682be194fc73a7c1 (patch) | |
tree | 72e48d0c9733322bd4d1b88d5ef58380eacbc4fa /devel/p4 | |
parent | 40780e30b68a2238fc63e9a01c65bed09d4b52b8 (diff) | |
download | pkgsrc-483173dd227550a48b743c7b682be194fc73a7c1.tar.gz |
Fixed some pkglint warnings.
Diffstat (limited to 'devel/p4')
-rw-r--r-- | devel/p4/Makefile | 4 | ||||
-rw-r--r-- | devel/p4/Makefile.common | 50 |
2 files changed, 27 insertions, 27 deletions
diff --git a/devel/p4/Makefile b/devel/p4/Makefile index 018a77f9eee..a6607ad30c4 100644 --- a/devel/p4/Makefile +++ b/devel/p4/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:47 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2006/06/17 20:44:03 rillig Exp $ # DISTNAME= p4 HOMEPAGE= http://www.perforce.com/perforce/products/p4.html COMMENT= Perforce SCM command-line client -P4BINONLY= # defined +P4BINONLY= yes .include "../../devel/p4/Makefile.common" diff --git a/devel/p4/Makefile.common b/devel/p4/Makefile.common index f76a885f5a4..a55a97e1222 100644 --- a/devel/p4/Makefile.common +++ b/devel/p4/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.8 2005/05/22 22:29:50 rillig Exp $ +# $NetBSD: Makefile.common,v 1.9 2006/06/17 20:44:03 rillig Exp $ # P4_VERS= 2002.1 @@ -23,44 +23,44 @@ _STRIPFLAG_INSTALL= # none .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "Darwin" -. if ${MACHINE_ARCH} == "powerpc" +. if ${OPSYS} == "Darwin" +. if ${MACHINE_ARCH} == "powerpc" P4ARCH?= darwinppc -. endif -.elif ${OPSYS} == "Linux" -. if ${MACHINE_ARCH} == "arm" +. endif +. elif ${OPSYS} == "Linux" +. if ${MACHINE_ARCH} == "arm" P4ARCH?= linuxarm -. elif ${MACHINE_ARCH} == "i386" +. elif ${MACHINE_ARCH} == "i386" P4ARCH?= linux24x86 -. elif ${MACHINE_ARCH} == "powerpc" +. elif ${MACHINE_ARCH} == "powerpc" P4ARCH?= linuxppc -. elif ${MACHINE_ARCH} == "sparc" +. elif ${MACHINE_ARCH} == "sparc" P4ARCH?= linux52sparc -. endif -.elif ${OPSYS} == "NetBSD" -. if ${MACHINE_ARCH} == "alpha" +. endif +. elif ${OPSYS} == "NetBSD" +. if ${MACHINE_ARCH} == "alpha" P4ARCH?= netbsdaxp -. elif ${MACHINE_ARCH} == "i386" -. if ${DISTNAME} == "p4web" +. elif ${MACHINE_ARCH} == "i386" +. if ${DISTNAME} == "p4web" P4ARCH?= freebsd22 # XXX COMPAT_FREEBSD -. else +. else P4ARCH?= netbsdx86 -. endif -. elif ${MACHINE_ARCH} == "powerpc" +. endif +. elif ${MACHINE_ARCH} == "powerpc" P4ARCH?= linuxppc # XXX COMPAT_LINUX -. elif ${MACHINE_ARCH} == "sparc" +. elif ${MACHINE_ARCH} == "sparc" P4ARCH?= sunos # XXX COMPAT_SUNOS -. endif -.elif ${OPSYS} == "SunOS" -. if ${MACHINE_ARCH} == "i386" +. endif +. elif ${OPSYS} == "SunOS" +. if ${MACHINE_ARCH} == "i386" P4ARCH?= solaris26x86 -. elif ${MACHINE_ARCH} == "sparc" +. elif ${MACHINE_ARCH} == "sparc" P4ARCH?= solaris26 +. endif . endif -.endif -.if !defined(P4ARCH) +. if !defined(P4ARCH) NOT_FOR_PLATFORM= ${MACHINE_PLATFORM} -.endif +. endif .endif # P4BINONLY |