summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortcort <tcort@pkgsrc.org>2013-03-01 00:07:46 +0000
committertcort <tcort@pkgsrc.org>2013-03-01 00:07:46 +0000
commit05b53ccd2ac622a529118a676bfc9fa272edc422 (patch)
tree0c8a3f13e183d18891079b47395042dc5ea3ae64 /mk
parentb7757e655a5781e5c60e1219aba5c2aae636712c (diff)
downloadpkgsrc-05b53ccd2ac622a529118a676bfc9fa272edc422.tar.gz
bsd.prefs.mk: add definitions for Minix. PR pkg/45046 OK by agc.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 7bd85934893..60c6936db79 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.333 2013/02/23 02:59:56 obache Exp $
+# $NetBSD: bsd.prefs.mk,v 1.334 2013/03/01 00:07:46 tcort Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -293,6 +293,11 @@ _UNAME_V!= ${UNAME} -v
OS_VARIANT= SmartOS
. endif
+.elif ${OPSYS} == "Minix"
+LOWER_VENDOR?= pc
+LOWER_OPSYS:= ${OPSYS:tl}
+LDFLAGS+= -lcompat_minix -lminlib
+
.elif !defined(LOWER_OPSYS)
LOWER_OPSYS:= ${OPSYS:tl}
.endif