diff options
author | bf <bf@FreeBSD.org> | 2013-11-13 09:38:47 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2013-11-13 09:38:47 +0800 |
commit | 352acd2401f5e5903f2666d723d95039d4dba843 (patch) | |
tree | 8d609721ab03504b851359ce2c461a2c875c501b /math/libmissing | |
parent | 8744195e3be73aee94b0162139383fa5ef6999d2 (diff) | |
download | freebsd-ports-graphics-352acd2401f5e5903f2666d723d95039d4dba843.tar.gz freebsd-ports-graphics-352acd2401f5e5903f2666d723d95039d4dba843.tar.zst freebsd-ports-graphics-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/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 <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\ |