pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/simh simh: fix building on debian 9.9.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/669f097ac2f3
branches:  trunk
changeset: 396671:669f097ac2f3
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Jun 06 13:02:29 2019 +0000

description:
simh: fix building on debian 9.9.

Need -lm for floor and others. Need -pthread for sem_timedwait.

diffstat:

 emulators/simh/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3967c12449fe -r 669f097ac2f3 emulators/simh/Makefile
--- a/emulators/simh/Makefile   Thu Jun 06 11:54:33 2019 +0000
+++ b/emulators/simh/Makefile   Thu Jun 06 13:02:29 2019 +0000
@@ -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.SunOS+= -DBSD_COMP
 LDFLAGS.SunOS+=        -lm
 
+LDFLAGS.Linux+=        -lm -pthread
+
 INSTALLATION_DIRS=     bin share/simh share/doc/simh
 
 MAKE_FILE=             makefile



Home | Main Index | Thread Index | Old Index