summaryrefslogtreecommitdiff
path: root/lang/f2c
diff options
context:
space:
mode:
authorrillig <rillig>2005-12-05 20:49:47 +0000
committerrillig <rillig>2005-12-05 20:49:47 +0000
commitb4f920543059af038598712771c3211999ef42a6 (patch)
treedac5b1dd14794d86b061d26b9503adb2552ed3f8 /lang/f2c
parent5bf026ec112f405b514a2d69a72e10fa92c4c524 (diff)
downloadpkgsrc-b4f920543059af038598712771c3211999ef42a6.tar.gz
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Diffstat (limited to 'lang/f2c')
-rw-r--r--lang/f2c/Makefile14
-rw-r--r--lang/f2c/buildlink3.mk10
2 files changed, 12 insertions, 12 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile
index 8e417668d20..4caacd015fb 100644
--- a/lang/f2c/Makefile
+++ b/lang/f2c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2005/12/01 13:06:07 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.38 2005/12/05 20:50:25 rillig Exp $
DISTNAME= f2c-20001205
PKGREVISION= 8
@@ -26,10 +26,10 @@ CONFLICTS= egcs-current-19980608
F2CMAJOR= 0
F2CMINOR= 0
-MAKE_ENV+= F2CMAJOR=${F2CMAJOR} F2CMINOR=${F2CMINOR}
-MAKE_ENV+= LIBOWN=${LIBOWN} LIBGRP=${LIBGRP}
-MAKE_ENV+= AWK=${AWK}
-MAKE_ENV+= ECHO=${ECHO}
+MAKE_ENV+= F2CMAJOR=${F2CMAJOR:Q} F2CMINOR=${F2CMINOR:Q}
+MAKE_ENV+= LIBOWN=${LIBOWN:Q} LIBGRP=${LIBGRP:Q}
+MAKE_ENV+= AWK=${AWK:Q}
+MAKE_ENV+= ECHO=${ECHO:Q}
WRKSRC= ${WRKDIR}/f2c
USE_LIBTOOL= yes
@@ -40,7 +40,7 @@ USE_TOOLS+= gunzip
post-extract:
@${RM} ${WRKSRC}/index.html
@for f in ${WRKSRC}/*.gz ; do \
- if test "$$f" = "${WRKSRC}/00lastchange.gz" ; then \
+ if ${TEST} "$$f" = "${WRKSRC}/00lastchange.gz" ; then \
${ECHO} "Skipping $$f" ; \
else \
${GUNZIP_CMD} $$f ; \
@@ -59,7 +59,7 @@ do-configure:
@${CP} -f ${WRKSRC}/f2c.h ${WRKSRC}/libI77/f2c.h
.include "../../mk/bsd.prefs.mk"
-MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
+MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH:Q}
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/f2c/buildlink3.mk b/lang/f2c/buildlink3.mk
index 43fbc0df4ca..ba5bc297250 100644
--- a/lang/f2c/buildlink3.mk
+++ b/lang/f2c/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2005/01/28 23:37:42 dmcmahill Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2005/12/05 20:50:25 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
F2C_BUILDLINK3_MK:= ${F2C_BUILDLINK3_MK}+
@@ -19,9 +19,9 @@ BUILDLINK_PKGSRCDIR.f2c?= ../../lang/f2c
# The f2c-f77 script takes some environment variables to override hardcoded
# values for the compiler and C preprocessor.
#
-CONFIGURE_ENV+= CC_f2c="${CC}"
-CONFIGURE_ENV+= CPP="${CPP}"
-MAKE_ENV+= CC_f2c="${CC}"
-MAKE_ENV+= CPP="${CPP}"
+CONFIGURE_ENV+= CC_f2c=${CC:Q}
+CONFIGURE_ENV+= CPP=${CPP:Q}
+MAKE_ENV+= CC_f2c=${CC:Q}
+MAKE_ENV+= CPP=${CPP:Q}
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}