From 352acd2401f5e5903f2666d723d95039d4dba843 Mon Sep 17 00:00:00 2001 From: bf Date: Wed, 13 Nov 2013 01:38:47 +0000 Subject: Ensure that libmissing functions can replace imprecise base system variants -- thanks to kib for implementing the necessary rtld support --- math/libmissing/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'math') diff --git a/math/libmissing/Makefile b/math/libmissing/Makefile index 13f1016a4dc..93f88bfeb18 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 +.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\ -- cgit