summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskrll <skrll>2003-01-20 18:33:29 +0000
committerskrll <skrll>2003-01-20 18:33:29 +0000
commit9da603de1b38feb9419528e8548facf0c40a0f01 (patch)
treeae6e9a02db1b9c8d205f9076f304522e6f31d63e
parentf13864e85cdac6e83c27cb5104f42b205628ea6c (diff)
downloadpkgsrc-9da603de1b38feb9419528e8548facf0c40a0f01.tar.gz
Honour ${CC}, ${LD}, ${AR}.
Use ${CC} -c for AS. Doing this means we get the right flags passed to as(1). Fixes my own PR 19906.
-rw-r--r--lang/wonka/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/wonka/Makefile b/lang/wonka/Makefile
index fcd75795e2a..e7d7b1e5ace 100644
--- a/lang/wonka/Makefile
+++ b/lang/wonka/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/11/12 11:17:15 skrll Exp $
+# $NetBSD: Makefile,v 1.4 2003/01/20 18:33:29 skrll Exp $
#
DISTNAME= wonka-src-0.9.4-release
@@ -46,10 +46,10 @@ post-extract:
post-patch:
for file in ${SEDFILES}; do \
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
- -e "s|@CC@|cc|g" \
- -e "s|@LD@|ld|g" \
- -e "s|@AS@|as|g" \
- -e "s|@AR@|ar|g" \
+ -e "s|@CC@|${CC}|g" \
+ -e "s|@LD@|${LD}|g" \
+ -e "s|@AS@|${CC} -c|g" \
+ -e "s|@AR@|${AR}|g" \
-e "s|@RANLIB@|${RANLIB}|g" \
$${file} > $${file}.fixed && \
${MV} -f $${file}.fixed $${file}; \