summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam>2010-12-26 12:07:01 +0000
committeradam <adam>2010-12-26 12:07:01 +0000
commit15ea58b644382ca5e900a69ded1248687f8b93f2 (patch)
tree747e6aff333a4ea6f9a31df8de5663761774e344 /devel
parentc5302f37a48f22614a5fb90e62aaba53ecb129c0 (diff)
downloadpkgsrc-15ea58b644382ca5e900a69ded1248687f8b93f2.tar.gz
Fix linking command, otherwise LDFLAGS aren't used: needed for special LDFLAGS on Mac OS X
Diffstat (limited to 'devel')
-rw-r--r--devel/yasm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/yasm/Makefile b/devel/yasm/Makefile
index 821f2deeecc..7566db95531 100644
--- a/devel/yasm/Makefile
+++ b/devel/yasm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2010/09/12 22:42:32 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2010/12/26 12:07:01 adam Exp $
#
DISTNAME= yasm-1.1.0
@@ -17,6 +17,12 @@ GNU_CONFIGURE= YES
USE_LIBTOOL= YES
TEST_TARGET= check
+SUBST_CLASSES+= link
+SUBST_STAGE.link= pre-configure
+SUBST_MESSAGE.link= Fix linking command.
+SUBST_FILES.link= Makefile.in
+SUBST_SED.link= -e 's,$$(CCLD_FOR_BUILD) -o $$@,$$(LINK) -o $$@,'
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"