pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/cairo Remove "-ldl" for FreeBSD as a workaround.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2ba16bad963e
branches: trunk
changeset: 610006:2ba16bad963e
user: asau <asau%pkgsrc.org@localhost>
date: Mon Oct 15 17:33:33 2012 +0000
description:
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:
graphics/cairo/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 0b965d4e9525 -r 2ba16bad963e graphics/cairo/Makefile
--- a/graphics/cairo/Makefile Mon Oct 15 15:29:09 2012 +0000
+++ b/graphics/cairo/Makefile Mon Oct 15 17:33:33 2012 +0000
@@ -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 @@
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.*}
Home |
Main Index |
Thread Index |
Old Index