Subject: Re: pkgsrc math/gap and pkgtools/bootstrap-mk-files
To: None <cjep@netbsd.org>
From: oliver gould <ogould@cs.stevens.edu>
List: pkgsrc-users
Date: 11/01/2006 13:17:53
--ylS2wUBXLOxYXZFQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2006-11-01 12:55 -0500, oliver gould wrote:
=20
> --- share/mk/sys.mk 2006-10-18 17:17:20.000000000 -0400
> +++ /tmp/sys.mk 2006-11-01 12:34:57.000000000 -0500
> @@ -21,9 +21,11 @@
> LINK.S?=3D ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
> =20
> .if exists(/usr/bin/gcc)
> -CC?=3D gcc -pipe
> +CC?=3D gcc
> +CFLAGS+=3D -pipe
> .else
> -CC?=3D cc -pipe
> +CC?=3D cc
> +CFLAGS+=3D -pipe
> .endif
> DBG?=3D -O2
> CFLAGS?=3D ${DBG}
Uh, oops. I realized how braindead this patch was after sending it. It
should be more like:
--- pkg/share/mk/sys.mk 2006-10-18 17:17:20.000000000 -0400
+++ /home/ogould/work/sys.mk 2006-11-01 13:07:03.000000000 -0500
@@ -21,12 +21,12 @@
LINK.S?=3D ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
=20
.if exists(/usr/bin/gcc)
-CC?=3D gcc -pipe
+CC?=3D gcc
.else
-CC?=3D cc -pipe
+CC?=3D cc
.endif
DBG?=3D -O2
-CFLAGS?=3D ${DBG}
+CFLAGS?=3D -pipe ${DBG}
COMPILE.c?=3D ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?=3D ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
=20
--=20
.oliver
--ylS2wUBXLOxYXZFQ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iD8DBQFFSOTRNtBooygWxWcRAg+7AJ9QHihonnryjfk2uUFvKZ6NyItkgwCeKtid
NyTwiBTGKJA2/4QwudPveRU=
=JhpW
-----END PGP SIGNATURE-----
--ylS2wUBXLOxYXZFQ--