diff options
author | obache <obache@pkgsrc.org> | 2013-04-28 13:21:47 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-04-28 13:21:47 +0000 |
commit | df1fd8d91915573816a84082d3ffcbf9f3e27062 (patch) | |
tree | e265c19c360652840a9cd0beef9f277c625fbdc2 /mk/bsd.prefs.mk | |
parent | 099df4c85b7545e77b271403920341ce68525ead (diff) | |
download | pkgsrc-df1fd8d91915573816a84082d3ffcbf9f3e27062.tar.gz |
Introduce COMPILER_INCLUDE_DIRS, COMPILER_LIB_DIRS and SYSTEM_DEFAULT_RPATH.
default value are _OPSYS_INCLUDE_DIRS, _OPSYS_LIB_DIRS and _OPSYS_DEFAULT_RPATH,
defined in mk/platform/${OPSYS}.mk.
(maybe defined with compiler/development tools specific variables).
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 90797445a59..1b86f060018 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.335 2013/04/03 13:45:49 obache Exp $ +# $NetBSD: bsd.prefs.mk,v 1.336 2013/04/28 13:21:47 obache Exp $ # # This file includes the mk.conf file, which contains the user settings. # @@ -641,6 +641,10 @@ COMPILER_RPATH_FLAG= ${_OPSYS_COMPILER_RPATH_FLAG} COMPILER_RPATH_FLAG?= ${_COMPILER_RPATH_FLAG} .endif +COMPILER_INCLUDE_DIRS?= ${_OPSYS_INCLUDE_DIRS:U/usr/include} +COMPILER_LIB_DIRS?= ${_OPSYS_LIB_DIRS:U/usr/lib${LIBABISUFFIX} /lib${LIBABISUFFIX}} +SYSTEM_DEFAULT_RPATH?= ${_OPSYS_SYSTEM_RPATH:U/usr/lib} + # WHOLE_ARCHIVE_FLAG and NO_WHOLE_ARCHIVE_FLAG publically export the # linker flags to extract all symbols from a static archive. # |