diff options
author | skrll <skrll@pkgsrc.org> | 2003-01-20 18:33:29 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2003-01-20 18:33:29 +0000 |
commit | 7c659943e0eabf822007939e96c7f0c2d7380d8d (patch) | |
tree | ae6e9a02db1b9c8d205f9076f304522e6f31d63e | |
parent | df41d5881927d75f08ad18244afc53ec275fb932 (diff) | |
download | pkgsrc-7c659943e0eabf822007939e96c7f0c2d7380d8d.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/Makefile | 10 |
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}; \ |