diff options
author | grant <grant> | 2003-02-27 04:32:33 +0000 |
---|---|---|
committer | grant <grant> | 2003-02-27 04:32:33 +0000 |
commit | d9712c47e0b0ed14ad76c85283ea4a27078389b3 (patch) | |
tree | 69911e0cb1766b1cb056ad7a790d9a4e37743933 /lang/perl5 | |
parent | 17d902de05d5d500a840de6cf62b84a441a65507 (diff) | |
download | pkgsrc-d9712c47e0b0ed14ad76c85283ea4a27078389b3.tar.gz |
fix some indenting and strip unneeded parens.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 22 |
1 files changed, 11 insertions, 11 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} |