Debian Codegraph @

debian/patches/80_security_tools.patch

raw
1 ## 80_security_tools.patch by Mike Hommey <[email protected]>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Enable building of some NSS tools.
5 ## DP: Disable rpath.
6
7 Index: nss/nss/cmd/platlibs.mk
8 ===================================================================
9 --- nss.orig/nss/cmd/platlibs.mk
10 +++ nss/nss/cmd/platlibs.mk
11 @@ -8,6 +8,7 @@ ifeq ($(BUILD_SUN_PKG), 1)
12 # set RPATH-type linker instructions here so they can be used in the shared
13 # version and in the mixed (static nss libs/shared NSPR libs) version.
14
15 +ifdef ENABLE_RPATH
16 ifeq ($(OS_ARCH), SunOS)
17 ifeq ($(USE_64), 1)
18 EXTRA_SHARED_LIBS += -R '$$ORIGIN/../lib:/usr/lib/mps/secv1/64:/usr/lib/mps/64'
19 @@ -31,6 +32,7 @@ DBMLIB = $(NULL)
20 else
21 DBMLIB = $(DIST)/lib/$(LIB_PREFIX)dbm.$(LIB_SUFFIX)
22 endif
23 +endif
24
25 ifeq ($(NSS_BUILD_UTIL_ONLY),1)
26 SECTOOL_LIB = $(NULL)