summaryrefslogtreecommitdiff
path: root/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
commita9bcc317d53fc36fe19833889b1b5a4d51b4f7af (patch)
treedecf4126abbb85755a30ad25c5b934c05f3298b7 /mk
parentde156d4dc03efab1f805d2d7a9dd3eb4fc795861 (diff)
downloadpkgsrc-a9bcc317d53fc36fe19833889b1b5a4d51b4f7af.tar.gz
Define OBJECT_FMT for FreeBSD.
Ignore long time obsolete FreeBSD 1-3 and consider FreeBSD ELF-only.
Diffstat (limited to '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"