summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-09-28 11:35:51 +0000
committerwiz <wiz@pkgsrc.org>2002-09-28 11:35:51 +0000
commita47e7466e51ef1b7eeaa3fe604fc88d07b8b26db (patch)
tree2476fdac0c5c70d521d4c25514aabd6a548e3744
parentd1420a1ba36d34a4b7fa966079bf6fa9cc7ecaee (diff)
downloadpkgsrc-a47e7466e51ef1b7eeaa3fe604fc88d07b8b26db.tar.gz
Add -lm to LIBS, somehow needed for it to be included in libsndfile.la.
-rw-r--r--audio/libsndfile/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/libsndfile/Makefile b/audio/libsndfile/Makefile
index f0d94e6c315..dd5f7f05125 100644
--- a/audio/libsndfile/Makefile
+++ b/audio/libsndfile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/09/28 01:28:24 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2002/09/28 11:35:51 wiz Exp $
#
DISTNAME= libsndfile-1.0.1
@@ -14,4 +14,8 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
+# needs libm for fmod(3), but somehow it does not end up in
+# libtool's .la file
+LIBS+= -lm
+
.include "../../mk/bsd.pkg.mk"