summaryrefslogtreecommitdiff
path: root/mk/platform/FreeBSD.mk
diff options
context:
space:
mode:
authorobache <obache>2013-04-28 12:53:56 +0000
committerobache <obache>2013-04-28 12:53:56 +0000
commitc6d8640b45b2b7c042e5d8efe2187e377194e426 (patch)
treeaf8e95660a8a1a639dee6cb8f4bbedd6faff6146 /mk/platform/FreeBSD.mk
parent83991388a3a692d3bb6d64a86f69f3d8792b4a5d (diff)
downloadpkgsrc-c6d8640b45b2b7c042e5d8efe2187e377194e426.tar.gz
Introduce _OPSYS_LIB_DIRS and _OPSYS_INCLUDE_DIRS varables.
list of system library and header file directories. Also add missing _OPSYS_SYSTEM_RPATH for some platforms.
Diffstat (limited to 'mk/platform/FreeBSD.mk')
-rw-r--r--mk/platform/FreeBSD.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk
index a575a087fc2..851ffcaa051 100644
--- a/mk/platform/FreeBSD.mk
+++ b/mk/platform/FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: FreeBSD.mk,v 1.29 2012/11/19 11:34:15 ryoon Exp $
+# $NetBSD: FreeBSD.mk,v 1.30 2013/04/28 12:53:56 obache Exp $
#
# Variable definitions for the FreeBSD operating system.
@@ -33,6 +33,8 @@ _OPSYS_EMULDIR.freebsd= # empty
_OPSYS_EMULDIR.linux= /compat/linux
_OPSYS_SYSTEM_RPATH?= /lib:/usr/lib # STANDARD_LIBRARY_PATH (from rtld.h)
+_OPSYS_LIB_DIRS?= /lib /usr/lib
+_OPSYS_INCLUDE_DIRS?= /usr/include
.if exists(/usr/include/netinet6)
_OPSYS_HAS_INET6= yes # IPv6 is standard