diff options
author | skrll <skrll> | 2003-01-20 18:33:29 +0000 |
---|---|---|
committer | skrll <skrll> | 2003-01-20 18:33:29 +0000 |
commit | b3897ff931366160f88b9465c1e76eb1b7a1fa70 (patch) | |
tree | ae6e9a02db1b9c8d205f9076f304522e6f31d63e /lang/wonka | |
parent | efd41bd2bbceb50ce5a57eeb01fe234a308f976b (diff) | |
download | pkgsrc-b3897ff931366160f88b9465c1e76eb1b7a1fa70.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.
Diffstat (limited to 'lang/wonka')
-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}; \ |