summaryrefslogtreecommitdiff
path: root/emulators/simh/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2012-06-16 14:58:35 +0000
committerabs <abs@pkgsrc.org>2012-06-16 14:58:35 +0000
commitd36e0ca99bd07a371e2dad8e731baac191883ef8 (patch)
tree826fab280cf36b95d71c3d728bf48e65b3136542 /emulators/simh/Makefile
parentd5d1081d0a09dd52007d772b05233ac729d526dc (diff)
downloadpkgsrc-d36e0ca99bd07a371e2dad8e731baac191883ef8.tar.gz
- Pickup pkgsrc CFLAGS correctly
- Fix build on NetBSD/vax 6.0 - Bump PKGREVISION
Diffstat (limited to 'emulators/simh/Makefile')
-rw-r--r--emulators/simh/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index 23cf4b8db8f..be579f81de1 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2012/05/26 08:50:53 obache Exp $
-#
+# $NetBSD: Makefile,v 1.37 2012/06/16 14:58:35 abs Exp $
DISTNAME= simhv39-0
PKGNAME= simh-3.9.0
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
EXTRACT_SUFX= .zip
@@ -25,6 +25,11 @@ WRKSRC= ${WRKDIR}
BUILDLINK_TRANSFORM+= rm:-O2
.endif
+# Needed for PDP11/pdp11_dc.c on gcc 4.1.3
+.if (${MACHINE_ARCH} == "vax")
+CFLAGS+= -fforce-addr
+.endif
+
INSTALLATION_DIRS= bin share/simh share/doc/simh
MAKE_FILE= makefile