summaryrefslogtreecommitdiff
path: root/devel/p4
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-17 20:44:03 +0000
committerrillig <rillig@pkgsrc.org>2006-06-17 20:44:03 +0000
commit2f412f85a4a187a57cda2931d28dcb9c0b297e4e (patch)
tree72e48d0c9733322bd4d1b88d5ef58380eacbc4fa /devel/p4
parentebcd9bb25315d07a2a887d3fa328bb1524be6bc5 (diff)
downloadpkgsrc-2f412f85a4a187a57cda2931d28dcb9c0b297e4e.tar.gz
Fixed some pkglint warnings.
Diffstat (limited to 'devel/p4')
-rw-r--r--devel/p4/Makefile4
-rw-r--r--devel/p4/Makefile.common50
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