summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2016-03-09 20:19:31 +0000
committertnn <tnn@pkgsrc.org>2016-03-09 20:19:31 +0000
commit6bcfaab96e65ff98bb352c640a04ba9aa9776a07 (patch)
treeca4fce2a9d863cfc173b8e16306072117000bdbf /lang/moscow_ml/Makefile
parentdf32a6cc08ac1a78542966f7b5ddbf264f287b31 (diff)
downloadpkgsrc-6bcfaab96e65ff98bb352c640a04ba9aa9776a07.tar.gz
use BUILDLINK_TRANSFORM to handle -ldl
Diffstat (limited to 'lang/moscow_ml/Makefile')
-rw-r--r--lang/moscow_ml/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 4aa729feee6..66ea1ade36b 100644
--- a/lang/moscow_ml/Makefile
+++ b/lang/moscow_ml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2015/06/12 10:50:16 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2016/03/09 20:19:31 tnn Exp $
DISTNAME= mos201src
PKGNAME= moscow_ml-2.01
@@ -31,6 +31,9 @@ INSTALLATION_DIRS+= share/examples/moscow_ml/units
INSTALLATION_DIRS+= share/examples/moscow_ml/weak
INSTALLATION_DIRS+= share/examples/moscow_ml/webserver
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+
post-extract:
${CHMOD} -x ${WRKDIR}/mosml/examples/modules/matrix.sml