pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/8086tiny FreeBSD also provides ftime() using...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfd3e10bd74b
branches:  trunk
changeset: 347950:bfd3e10bd74b
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sat Jun 04 17:41:02 2016 +0000

description:
FreeBSD also provides ftime() using libcompat.

diffstat:

 emulators/8086tiny/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 2a11271aa8a3 -r bfd3e10bd74b emulators/8086tiny/Makefile
--- a/emulators/8086tiny/Makefile       Sat Jun 04 16:28:22 2016 +0000
+++ b/emulators/8086tiny/Makefile       Sat Jun 04 17:41:02 2016 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index