summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino>2012-01-24 09:42:35 +0000
committermarino <marino>2012-01-24 09:42:35 +0000
commit24d74a781c70050cc4ed08df9e48f692c042a78e (patch)
treeb0d4e56cc336cec1d8c888a9b512f54626770b51
parent3f54203f775bb9a91c7806fb5ad2079521f1a707 (diff)
downloadpkgsrc-24d74a781c70050cc4ed08df9e48f692c042a78e.tar.gz
audio/esound: Fix indirect linking error on DragonFly only
Since fixing the gnu linker v2.22 indirect linking errors for all platforms have been met with controversy, this will be fixed with LDFLAGS.DragonFly rather than LDFLAGS. An identical LDFLAGS.IRIX already exists for this package, and often this is the case for LDFLAGS.SunOS. When pkgsrc definitively decides to support unmodified gnu linker v2.22 behavior, we can stop using LDFLAGS.DragonFly to address this issue.
-rw-r--r--audio/esound/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/esound/Makefile b/audio/esound/Makefile
index 529cd17da09..d9d23d413ef 100644
--- a/audio/esound/Makefile
+++ b/audio/esound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2012/01/13 10:54:45 obache Exp $
+# $NetBSD: Makefile,v 1.76 2012/01/24 09:42:35 marino Exp $
DISTNAME= esound-0.2.41
PKGREVISION= 1
@@ -42,6 +42,7 @@ SUBST_MESSAGE.oss= Fixing oss.
.endif
LDFLAGS.IRIX+= -lm
+LDFLAGS.DragonFly+= -lm
.include "../../audio/libaudiofile/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"