summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2019-06-06 13:02:29 +0000
committermaya <maya@pkgsrc.org>2019-06-06 13:02:29 +0000
commit8c9184ddcf41c9452da1945738f400122be5becc (patch)
tree93d97d69017cd5a5d61ee6d72d48d2929f5d2242 /emulators
parentfb401463e5db131d637e16fed2808150dd3bd9aa (diff)
downloadpkgsrc-8c9184ddcf41c9452da1945738f400122be5becc.tar.gz
simh: fix building on debian 9.9.
Need -lm for floor and others. Need -pthread for sem_timedwait.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/simh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index f7601069699..fdb7c7458b9 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2018/09/24 14:12:28 gson Exp $
+# $NetBSD: Makefile,v 1.51 2019/06/06 13:02:29 maya Exp $
DISTNAME= simh-4.0.0
PKGNAME= simh-4.0.0.20180919
@@ -34,6 +34,8 @@ CFLAGS+= -fforce-addr
CFLAGS.SunOS+= -DBSD_COMP
LDFLAGS.SunOS+= -lm
+LDFLAGS.Linux+= -lm -pthread
+
INSTALLATION_DIRS= bin share/simh share/doc/simh
MAKE_FILE= makefile