summaryrefslogtreecommitdiff
path: root/lang/rust/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon>2016-09-13 12:37:08 +0000
committerryoon <ryoon>2016-09-13 12:37:08 +0000
commitee910611a97952bc530113222e1c6b9507ac7d11 (patch)
treec1266c0998985f5effba677b97b7fc29aab80846 /lang/rust/Makefile
parent8465c0a173fe1631fb71a520de52f7e1459ff1a3 (diff)
downloadpkgsrc-ee910611a97952bc530113222e1c6b9507ac7d11.tar.gz
Restore accidentally deleted comment and use .NetBSD suffix
Thank you, jperkin@.
Diffstat (limited to 'lang/rust/Makefile')
-rw-r--r--lang/rust/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 46fe6cf653c..93f2cec9ff5 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/09/12 13:27:33 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2016/09/13 12:37:08 ryoon Exp $
DISTNAME= rustc-1.11.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -57,9 +57,7 @@ CONFIGURE_ARGS+= --disable-jemalloc
#
# Under NetBSD, do not use DT_RUNPATH
#
-.if ${OPSYS} == "NetBSD"
-BUILDLINK_TRANSFORM+= rm:-Wl,--enable-new-dtags
-.endif
+BUILDLINK_TRANSFORM.NetBSD+= rm:-Wl,--enable-new-dtags
#
# Can't use pkgsrc llvm on SunOS at the moment due to a relocation error.