summaryrefslogtreecommitdiff
path: root/emulators/fceu
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-04-15 08:43:23 +0000
committerwiz <wiz@pkgsrc.org>2020-04-15 08:43:23 +0000
commit03b65467307eec20dfa98915d43fddf3c16155c6 (patch)
tree3cc7c6505b7deed1d75e4a5fcec12bd931cebdf1 /emulators/fceu
parent8a8fa725a7560f014f3f2f26286db4b5ffd7d35c (diff)
downloadpkgsrc-03b65467307eec20dfa98915d43fddf3c16155c6.tar.gz
fceu: link against libm everywhere, needed for cos()
Link against ${LIBOSSAUDIO} too.
Diffstat (limited to 'emulators/fceu')
-rw-r--r--emulators/fceu/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/emulators/fceu/Makefile b/emulators/fceu/Makefile
index 5b9c8fa71e8..7ef5616b00b 100644
--- a/emulators/fceu/Makefile
+++ b/emulators/fceu/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2018/07/04 13:40:17 jperkin Exp $
-#
+# $NetBSD: Makefile,v 1.22 2020/04/15 08:43:23 wiz Exp $
DISTNAME= fceu-0.98.13.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -24,7 +23,7 @@ SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
INSTALLATION_DIRS= ${PKGMANDIR}/man6 share/doc/fceu
-LDFLAGS.DragonFly= -lm
+LDFLAGS+= -lm ${LIBOSSAUDIO}
post-install:
${INSTALL_DATA} ${WRKSRC}/Documentation/fceu-sdl.6 \