summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2016-06-04 17:41:02 +0000
committersevan <sevan@pkgsrc.org>2016-06-04 17:41:02 +0000
commitb4d9ceb3cfc9903a67f2c09ebabd15becaefee93 (patch)
tree52098264eda34c68ffa2d009493b14db090732af /emulators
parent7207a5c6192e42497f05957984c7feac1c3a01cc (diff)
downloadpkgsrc-b4d9ceb3cfc9903a67f2c09ebabd15becaefee93.tar.gz
FreeBSD also provides ftime() using libcompat.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/8086tiny/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/emulators/8086tiny/Makefile b/emulators/8086tiny/Makefile
index c3f9876e2be..3fdcbe536f0 100644
--- a/emulators/8086tiny/Makefile
+++ b/emulators/8086tiny/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/10/11 00:52:23 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2016/06/04 17:41:02 sevan Exp $
DISTNAME= 8086tiny_125
PKGNAME= ${DISTNAME:S/tiny_1/tiny-1./}
@@ -16,7 +16,11 @@ WRKSRC= ${WRKDIR}
USE_TOOLS+= sed
BUILD_TARGET= 8086tiny
-LDFLAGS.NetBSD= -lcompat
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
+LDFLAGS= -lcompat
+.endif
INSTALLATION_DIRS= bin share/8086tiny