summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorasau <asau>2014-04-07 17:25:16 +0000
committerasau <asau>2014-04-07 17:25:16 +0000
commite04cf25afc0e1efe1f90a668971cbeadc39d4ce9 (patch)
treef2270486c1a972fda1f7e73f0f5f979537ad8b4c /mk
parenta2832542e2176a5ae8455f595950cc995d4697c2 (diff)
downloadpkgsrc-e04cf25afc0e1efe1f90a668971cbeadc39d4ce9.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"