summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorgrant <grant>2003-02-27 04:32:33 +0000
committergrant <grant>2003-02-27 04:32:33 +0000
commit84de57532bdde3cba7f3fc915d5af253b04ef81b (patch)
tree69911e0cb1766b1cb056ad7a790d9a4e37743933 /lang
parent54f45833c306e5d0accd839afe2380c11033056f (diff)
downloadpkgsrc-84de57532bdde3cba7f3fc915d5af253b04ef81b.tar.gz
fix some indenting and strip unneeded parens.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/Makefile22
-rw-r--r--lang/perl58/Makefile16
2 files changed, 19 insertions, 19 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 071cee1a5d0..02385dcc479 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2003/02/21 14:42:14 grant Exp $
+# $NetBSD: Makefile,v 1.62 2003/02/27 04:32:33 grant Exp $
.include "../../lang/perl5/Makefile.common"
@@ -69,11 +69,11 @@ LOCLIBRPATHFLAGS= ${LOCLIBPATH:S/^/-Wl,-R/g}
CONFIGURE_ARGS+= -Dlibswanted="${LIBSWANTED.${OPSYS}}"
.endif
-.if (${OPSYS} == "NetBSD")
-.if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
+.if ${OPSYS} == "NetBSD"
+. if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
MKPIC= no
-.endif
-.if (${MACHINE_ARCH} == "sparc64")
+. endif
+. if ${MACHINE_ARCH} == "sparc64"
# The toolchain on sparc64 is not really production-quality right now, but
# gcc-2.96 is supposed to fix most problems. Passing -g to the configure
# process triggers -DDEBUGGING, which plays the real trick and circumvents
@@ -81,12 +81,12 @@ MKPIC= no
# debuggable build.
#
CFLAGS+= -g -msoft-quad-float -O2
-.endif
-.elif (${OPSYS} == "SunOS")
+. endif
+.elif ${OPSYS} == "SunOS"
CFLAGS=
.endif
-.if (${MKPIC} == "yes")
+.if ${MKPIC} == "yes"
CONFIGURE_ARGS+= -Duseshrplib
.endif
@@ -130,7 +130,7 @@ pre-configure:
# any reasonable number of registers. These platforms should be added to
# the list below to bypass the build of the statically-linked perl.
#
-.if (${MKPIC} == "yes")
+.if ${MKPIC} == "yes"
. for _arch_ in mipsel mipseb
. if !empty(MACHINE_ARCH:M${_arch_})
STATIC_PERL?= NO
@@ -139,7 +139,7 @@ STATIC_PERL?= NO
.endif
STATIC_PERL?= YES
-.if defined(STATIC_PERL) && (${STATIC_PERL} == "YES")
+.if defined(STATIC_PERL) && ${STATIC_PERL} == "YES"
STATIC_WRKDIR= ${WRKDIR}/static
STATIC_MAKEFLAGS= MKPIC=no STATIC_PERL=NO
STATIC_MAKEFLAGS+= WRKDIR=${STATIC_WRKDIR}
@@ -150,7 +150,7 @@ post-build:
.endif
post-install:
-.if defined(STATIC_PERL) && (${STATIC_PERL} == "YES")
+.if defined(STATIC_PERL) && ${STATIC_PERL} == "YES"
${RM} -f ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL5_DIST_VERS}
${INSTALL_PROGRAM} ${STATIC_WRKDIR}/${DISTNAME}/perl ${PREFIX}/bin/perl
${LN} -f ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL5_DIST_VERS}
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index 06cd46e1a6f..a9ca871f3fb 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/02/21 16:10:27 grant Exp $
+# $NetBSD: Makefile,v 1.10 2003/02/27 04:32:33 grant Exp $
.include "Makefile.common"
@@ -91,11 +91,11 @@ LOCLIBRPATHFLAGS= # empty
CONFIGURE_ARGS+= -Dlibswanted="${LIBSWANTED.${OPSYS}}"
.endif
-.if (${OPSYS} == "NetBSD")
+.if ${OPSYS} == "NetBSD"
. if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
MKPIC= no
. endif
-. if (${MACHINE_ARCH} == "sparc64")
+. if ${MACHINE_ARCH} == "sparc64"
# The toolchain on sparc64 is not really production-quality right now, but
# gcc-2.96 is supposed to fix most problems. Passing -g to the configure
# process triggers -DDEBUGGING, which plays the real trick and circumvents
@@ -104,11 +104,11 @@ MKPIC= no
#
CFLAGS+= -g -msoft-quad-float -O2
. endif
-.elif (${OPSYS} == "SunOS")
+.elif ${OPSYS} == "SunOS"
CFLAGS=
.endif
-.if (${MKPIC} == "yes")
+.if ${MKPIC} == "yes"
CONFIGURE_ARGS+= -Duseshrplib
.endif
@@ -154,7 +154,7 @@ pre-configure:
# any reasonable number of registers. These platforms should be added to
# the list below to bypass the build of the statically-linked perl.
#
-.if (${MKPIC} == "yes")
+.if ${MKPIC} == "yes"
. for _arch_ in mipsel mipseb
. if !empty(MACHINE_ARCH:M${_arch_})
STATIC_PERL?= NO
@@ -163,7 +163,7 @@ STATIC_PERL?= NO
.endif
STATIC_PERL?= YES
-.if defined(STATIC_PERL) && (${STATIC_PERL} == "YES")
+.if defined(STATIC_PERL) && ${STATIC_PERL} == "YES"
STATIC_WRKDIR= ${WRKDIR}/static
STATIC_MAKEFLAGS= MKPIC=no STATIC_PERL=NO
STATIC_MAKEFLAGS+= WRKDIR=${STATIC_WRKDIR}
@@ -174,7 +174,7 @@ post-build:
.endif
post-install:
-.if defined(STATIC_PERL) && (${STATIC_PERL} == "YES")
+.if defined(STATIC_PERL) && ${STATIC_PERL} == "YES"
${RM} -f ${PERL5}
${INSTALL_PROGRAM} ${STATIC_WRKDIR}/${WRKSRC:T}/perl ${PERL5}
.endif