diff options
author | asau <asau@pkgsrc.org> | 2012-10-15 17:33:33 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2012-10-15 17:33:33 +0000 |
commit | d4b5c0322dd225a87214665cb0c1acf4f4da21ed (patch) | |
tree | c47ead8e7c7a922c79db2cdd9613aa08965b66a6 /graphics | |
parent | 95ff4f397f0246accb76354a0cb59aa684a53377 (diff) | |
download | pkgsrc-d4b5c0322dd225a87214665cb0c1acf4f4da21ed.tar.gz |
Remove "-ldl" for FreeBSD as a workaround.
Configuration script correctly detects that libdl is not needed
for dlsym(3) but ignores the result for not yet identified reason.
Noticed on FreeBSD 9.0.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cairo/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index 0e1fef6727a..4a38f2a4b6f 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.111 2012/10/08 21:54:05 wiz Exp $ +# $NetBSD: Makefile,v 1.112 2012/10/15 17:33:33 asau Exp $ DISTNAME= cairo-1.12.2 PKGREVISION= 2 @@ -38,6 +38,11 @@ CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS TEST_TARGET= check +# Workaround for FreeBSD (noticed on 9.0): +.if ${OPSYS} == "FreeBSD" +BUILDLINK_TRANSFORM+= rm:-ldl +.endif + # PR#43928 .include "../../mk/compiler.mk" .if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*} |