pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Fixed some pkglint warnings.
details: https://anonhg.NetBSD.org/pkgsrc/rev/74ad1e8c3023
branches: trunk
changeset: 514763:74ad1e8c3023
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jun 17 20:44:03 2006 +0000
description:
Fixed some pkglint warnings.
diffstat:
devel/p4/Makefile | 4 +-
devel/p4/Makefile.common | 58 +++++++++++++++++++++---------------------
devel/p5-perl-headers/Makefile | 10 +++---
3 files changed, 36 insertions(+), 36 deletions(-)
diffs (134 lines):
diff -r 4953740bc706 -r 74ad1e8c3023 devel/p4/Makefile
--- a/devel/p4/Makefile Sat Jun 17 20:41:17 2006 +0000
+++ b/devel/p4/Makefile Sat Jun 17 20:44:03 2006 +0000
@@ -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 -r 4953740bc706 -r 74ad1e8c3023 devel/p4/Makefile.common
--- a/devel/p4/Makefile.common Sat Jun 17 20:41:17 2006 +0000
+++ b/devel/p4/Makefile.common Sat Jun 17 20:44:03 2006 +0000
@@ -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 @@
.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"
+P4ARCH?= linuxppc # XXX COMPAT_LINUX
+. elif ${MACHINE_ARCH} == "sparc"
+P4ARCH?= sunos # XXX COMPAT_SUNOS
. endif
-. elif ${MACHINE_ARCH} == "powerpc"
-P4ARCH?= linuxppc # XXX COMPAT_LINUX
-. elif ${MACHINE_ARCH} == "sparc"
-P4ARCH?= sunos # XXX COMPAT_SUNOS
+. elif ${OPSYS} == "SunOS"
+. if ${MACHINE_ARCH} == "i386"
+P4ARCH?= solaris26x86
+. elif ${MACHINE_ARCH} == "sparc"
+P4ARCH?= solaris26
+. endif
. endif
-.elif ${OPSYS} == "SunOS"
-. if ${MACHINE_ARCH} == "i386"
-P4ARCH?= solaris26x86
-. elif ${MACHINE_ARCH} == "sparc"
-P4ARCH?= solaris26
+
+. if !defined(P4ARCH)
+NOT_FOR_PLATFORM= ${MACHINE_PLATFORM}
. endif
-.endif
-
-.if !defined(P4ARCH)
-NOT_FOR_PLATFORM= ${MACHINE_PLATFORM}
-.endif
.endif # P4BINONLY
diff -r 4953740bc706 -r 74ad1e8c3023 devel/p5-perl-headers/Makefile
--- a/devel/p5-perl-headers/Makefile Sat Jun 17 20:41:17 2006 +0000
+++ b/devel/p5-perl-headers/Makefile Sat Jun 17 20:44:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/06/07 15:44:52 minskim Exp $
+# $NetBSD: Makefile,v 1.28 2006/06/17 20:52:07 rillig Exp $
DISTNAME= p5-perl-headers
PKGNAME= ${DISTNAME}-${OS_VERSION}
@@ -20,7 +20,7 @@
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
-OSVERSION_SPECIFIC= yes
+OSVERSION_SPECIFIC= yes
# Since this package will be named, for instance, p5-perl-headers-1.5.1,
# binary packages on a FTP server (where only "1.5" is used as the directory
@@ -32,13 +32,13 @@
do-build:
${MKDIR} ${WRKSRC}/h2ph
${RM} -f ${WRKSRC}/h2ph_log ${WRKSRC}/packlist
- ( cd /usr/include; \
+ ( cd "/usr/include" && \
${BUILDLINK_PREFIX.perl}/bin/h2ph -d ${WRKSRC}/h2ph -r -l . ) \
> ${WRKSRC}/h2ph_log
- ( ${ECHO} "${PERL5_INSTALLVENDORARCH}/_h2ph_pre.ph"; \
+ ( ${ECHO} "${PERL5_INSTALLVENDORARCH}/_h2ph_pre.ph" && \
${CAT} ${WRKSRC}/h2ph_log \
| ${GREP} -- "->" \
- | ${SED} -e "s,.*\./,${PERL5_INSTALLVENDORARCH}/,g" ) \
+ | ${SED} -e 's,.*\./,${PERL5_INSTALLVENDORARCH}/,g' ) \
| ${SORT} -u \
> ${WRKSRC}/packlist
Home |
Main Index |
Thread Index |
Old Index