aboutsummaryrefslogtreecommitdiff
path: root/math/libmissing
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2013-11-13 01:38:47 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2013-11-13 01:38:47 +0000
commit8f648551d4fdce29711a60e330ef1a0494abf54b (patch)
tree8d609721ab03504b851359ce2c461a2c875c501b /math/libmissing
parentbdf331b3a9a13b9a9f612e54efc27f44aa9bf5bb (diff)
downloadports-8f648551d4fdce29711a60e330ef1a0494abf54b.tar.gz
ports-8f648551d4fdce29711a60e330ef1a0494abf54b.zip
Ensure that libmissing functions can replace imprecise base system variants -- thanks
to kib for implementing the necessary rtld support
Notes
Notes: svn path=/head/; revision=333636
Diffstat (limited to 'math/libmissing')
-rw-r--r--math/libmissing/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/libmissing/Makefile b/math/libmissing/Makefile
index 13f1016a4dc4..93f88bfeb187 100644
--- a/math/libmissing/Makefile
+++ b/math/libmissing/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libmissing
DISTVERSION= 20130815
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= LOCAL/bf
@@ -35,6 +35,10 @@ LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
.include <bsd.port.options.mk>
+.if ${OSVERSION} > 1000054
+LDFLAGS+= -Wl,-z,interpose
+.endif
+
.if ${PORT_OPTIONS:MPROFILE} || defined(WITH_PROFILE)
.if defined(NOPROFILE) || defined(NO_PROFILE) || defined(WITHOUT_PROFILE)
IGNORE = you have defined WITH_PROFILE, but have also defined\