summaryrefslogtreecommitdiff
path: root/devel/nasm
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-03-08 20:46:49 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-03-08 20:46:49 +0000
commit20ea0ab85ca490923fead04ab46ac7ecf87c6d37 (patch)
treed786effb3aef4cc498386f7ec36b2a9aac0e08a4 /devel/nasm
parentfa661c95be863312578c81455b9abee86cc773fa (diff)
downloadpkgsrc-20ea0ab85ca490923fead04ab46ac7ecf87c6d37.tar.gz
Use BUILDLINK_TRANSFORM instead of SUBST_CLASSES to remove
compiler flags, thanks wiz.
Diffstat (limited to 'devel/nasm')
-rw-r--r--devel/nasm/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/devel/nasm/Makefile b/devel/nasm/Makefile
index f6edac25bab..21d17189f23 100644
--- a/devel/nasm/Makefile
+++ b/devel/nasm/Makefile
@@ -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 @@ INSTALLATION_DIRS= bin info man/man1 share/doc/html
.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"