summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-04-07 17:25:16 +0000
committerasau <asau@pkgsrc.org>2014-04-07 17:25:16 +0000
commit2051afa10a838b61f3aa27b2821baf35cbcf056d (patch)
treedecf4126abbb85755a30ad25c5b934c05f3298b7 /mk/bsd.prefs.mk
parentbc8d72d10cb9a704870128738a0b217a116eab3c (diff)
downloadpkgsrc-2051afa10a838b61f3aa27b2821baf35cbcf056d.tar.gz
Define OBJECT_FMT for FreeBSD.
Ignore long time obsolete FreeBSD 1-3 and consider FreeBSD ELF-only.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index ee99015fc38..283262dc700 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.344 2014/03/14 22:05:18 ryoon Exp $
+# $NetBSD: bsd.prefs.mk,v 1.345 2014/04/07 17:25:16 asau Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -386,6 +386,8 @@ OBJECT_FMT?= ELF
. else
OBJECT_FMT?= a.out
. endif
+.elif ${OPSYS} == "FreeBSD"
+OBJECT_FMT?= ELF
.elif ${OPSYS} == "DragonFly"
OBJECT_FMT= ELF
.elif ${OPSYS} == "MirBSD"