pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/nasm Use BUILDLINK_TRANSFORM instead of SUBST_CL...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3482983810f4
branches:  trunk
changeset: 490405:3482983810f4
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Mar 08 20:46:49 2005 +0000

description:
Use BUILDLINK_TRANSFORM instead of SUBST_CLASSES to remove
compiler flags, thanks wiz.

diffstat:

 devel/nasm/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r a76d1271dbaf -r 3482983810f4 devel/nasm/Makefile
--- a/devel/nasm/Makefile       Tue Mar 08 20:15:14 2005 +0000
+++ b/devel/nasm/Makefile       Tue Mar 08 20:46:49 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2005/03/08 18:51:06 xtraeme Exp $
+# $NetBSD: Makefile,v 1.19 2005/03/08 20:46:49 xtraeme Exp $
 
 DISTNAME=      nasm-0.98.39
 CATEGORIES=    devel lang
@@ -30,11 +30,7 @@
 .include "../../mk/compiler.mk"
 
 .if !empty(CC_VERSION:Mgcc-2*)
-SUBST_CLASSES+=     c99
-SUBST_STAGE.c99=    pre-configure
-SUBST_FILES.c99=    configure
-SUBST_SED.c99=      -e "s,\-std=c99,,g"
-SUBST_MESSAGE.c99=  "Fixing configure script."
+BUILDLINK_TRANSFORM+=   rm:-std=c99
 .endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index