File tree 6 files changed +46
-11
lines changed
6 files changed +46
-11
lines changed Original file line number Diff line number Diff line change 18
18
#
19
19
# CDDL HEADER END
20
20
#
21
- # Copyright (c) 2012 Joyent, Inc. All rights reserved.
21
+ # Copyright (c) 2013 Joyent, Inc. All rights reserved.
22
22
#
23
23
24
24
VER = bind-9.8.0
@@ -32,8 +32,11 @@ AUTOCONF_OPTS += \
32
32
CFLAGS += -g $(CPPFLAGS )
33
33
PARALLEL =
34
34
35
+ PATCHES += \
36
+ nm-loc.patch
37
+
35
38
AUTOCONF_ENV += \
36
- INSTALL="/usr/ucb/install -c"
39
+ INSTALL="/usr/ucb/install -c" \
37
40
38
41
OVERRIDES += \
39
42
INSTALL="/usr/ucb/install -c"
Original file line number Diff line number Diff line change
1
+ From f7bd7bb5122a69fae3cdd7bf9cdbb45e7183313f Mon Sep 17 00:00:00 2001
2
+ From: Robert Mustacchi <
[email protected] >
3
+ Date: Sat, 16 Mar 2013 00:56:04 +0000
4
+ Subject: [PATCH] Fix nm location
5
+
6
+ ---
7
+ util/mksymtbl.pl | 6 +++++-
8
+ 1 files changed, 5 insertions(+), 1 deletions(-)
9
+
10
+ diff --git a/util/mksymtbl.pl b/util/mksymtbl.pl
11
+ index 9908a53..31351f4 100755
12
+ --- a/util/mksymtbl.pl
13
+ +++ b/util/mksymtbl.pl
14
+ @@ -44,10 +44,14 @@ if ($options{'o'}) {
15
+ $nm_prog = "nm";
16
+ $ostype = `uname -s`;
17
+ chop($ostype);
18
+ - if ($ostype eq "SunOS" || $ostype eq "HP-UX") {
19
+ + if ($ostype eq "HP-UX") {
20
+ $nm_prog = "/usr/ccs/bin/nm -x"
21
+ }
22
+
23
+ + if ($ostype eq "SunOS") {
24
+ + $nm_prog = "/usr/bin/nm -x"
25
+ + }
26
+ +
27
+ if ($options{'i'}) {
28
+ open(SYMBOLS, $options{'i'}) || die "failed to open $options{'i'}";
29
+ } else {
30
+ - -
31
+ 1.7.7.2
32
+
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ _install()
56
56
rm -f $_targ
57
57
cp $_src $_targ
58
58
chmod u+w $_targ
59
- /usr/ccs/ bin/strip $_targ
59
+ /usr/bin/strip $_targ
60
60
chmod $_perm $_targ
61
61
;;
62
62
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ DESTDIR=$(BASE)/../proto
26
26
27
27
all :
28
28
(cd usr/src/harness; env - \
29
- make -f Makefile-os)
29
+ make -f Makefile-os STRIP=/usr/bin/strip MCS=/usr/bin/mcs LD=/usr/bin/ld )
30
30
31
31
install : all
32
32
BASE=$(DESTDIR ) ksh93 ./install-extra
Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ CPP_CMD = $(CC) -E -Xs
57
57
INSTALL = /usr/sbin/install
58
58
INST_CMD = $(INSTALL ) $(OWNED_BY ) -m 644 -f $(@D ) $<
59
59
INST_EXEC_CMD = $(INSTALL ) $(OWNED_BY ) -m 755 -f $(@D ) $<
60
- LD = /usr/ccs/ bin/ld
60
+ LD = /usr/bin/ld
61
61
M4 = /usr/ccs/bin/m4
62
- MCS = /usr/ccs/ bin/mcs
63
- STRIP = /usr/ccs/ bin/strip
62
+ MCS = /usr/bin/mcs
63
+ STRIP = /usr/bin/strip
64
64
TR = /usr/bin/tr
65
65
66
66
#
Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ ISA_DIRS = $(ISA_DIRS_$(MCPU))
54
54
# system commands
55
55
#
56
56
57
- AR = /usr/ccs/ bin/ar
57
+ AR = /usr/bin/ar
58
58
CPP_CMD = $(CC ) -E -Xs
59
59
INSTALL = /usr/sbin/install
60
60
INST_CMD = $(INSTALL ) $(OWNED_BY ) -m 644 -f $(@D ) $<
61
61
INST_EXEC_CMD = $(INSTALL ) $(OWNED_BY ) -m 755 -f $(@D ) $<
62
- LD = /usr/ccs/ bin/ld
62
+ LD = /usr/bin/ld
63
63
M4 = /usr/ccs/bin/m4
64
- MCS = /usr/ccs/ bin/mcs
65
- STRIP = /usr/ccs/ bin/strip
64
+ MCS = /usr/bin/mcs
65
+ STRIP = /usr/bin/strip
66
66
TR = /usr/bin/tr
67
67
68
68
#
You can’t perform that action at this time.
0 commit comments