aboutsummaryrefslogtreecommitdiffstats
path: root/math/libmissing
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2013-11-13 09:38:47 +0800
committerbf <bf@FreeBSD.org>2013-11-13 09:38:47 +0800
commit352acd2401f5e5903f2666d723d95039d4dba843 (patch)
tree8d609721ab03504b851359ce2c461a2c875c501b /math/libmissing
parent8744195e3be73aee94b0162139383fa5ef6999d2 (diff)
downloadfreebsd-ports-gnome-352acd2401f5e5903f2666d723d95039d4dba843.tar.gz
freebsd-ports-gnome-352acd2401f5e5903f2666d723d95039d4dba843.tar.zst
freebsd-ports-gnome-352acd2401f5e5903f2666d723d95039d4dba843.zip
Ensure that libmissing functions can replace imprecise base system variants -- thanks
to kib for implementing the necessary rtld support
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\