35 include ../../make-rules/ips.mk |
35 include ../../make-rules/ips.mk |
36 |
36 |
37 IPS_COMPONENT_VERSION = $(COMPONENT_VERSION).9 |
37 IPS_COMPONENT_VERSION = $(COMPONENT_VERSION).9 |
38 PATCH_LEVEL = 0 |
38 PATCH_LEVEL = 0 |
39 |
39 |
|
40 PKG_PROTO_DIRS += $(COMPONENT_DIR)/Solaris |
40 |
41 |
41 # Enable C99 mode + -Xc for it's additional warnings. |
42 # Enable C99 mode + -Xc for it's additional warnings. |
42 studio_C99MODE = -Xc $(studio_C99_ENABLE) |
43 studio_C99MODE = -Xc $(studio_C99_ENABLE) |
43 |
44 |
44 # Use the maximum number of registers on sparc since we have no libraries |
45 # Use the maximum number of registers on sparc since we have no libraries |
114 CONFIGURE_OPTIONS += --with-bash-malloc |
115 CONFIGURE_OPTIONS += --with-bash-malloc |
115 CONFIGURE_OPTIONS += --with-curses |
116 CONFIGURE_OPTIONS += --with-curses |
116 CONFIGURE_OPTIONS += --with-installed-readline=no |
117 CONFIGURE_OPTIONS += --with-installed-readline=no |
117 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
118 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
118 |
119 |
|
120 TEST_ENV += -i |
|
121 TEST_ENV += $(TEST_PATH) |
|
122 TEST_ENV += $(TARGET_ENV) |
|
123 |
119 build: $(BUILD_32) |
124 build: $(BUILD_32) |
120 |
125 |
121 install: $(INSTALL_32) |
126 install: $(INSTALL_32) |
122 ( mkdir -p $(PROTO_DIR)/etc/bash/bash_completion.d ; \ |
|
123 cp -p $(COMPONENT_DIR)/Solaris/etc.bash.bash_completion \ |
|
124 $(PROTO_DIR)/etc/bash/bash_completion.example ; \ |
|
125 cp -p $(COMPONENT_DIR)/Solaris/etc.bash.bashrc \ |
|
126 $(PROTO_DIR)/etc/bash/bashrc.example ; \ |
|
127 cp -p $(COMPONENT_DIR)/Solaris/etc.bash.inputrc \ |
|
128 $(PROTO_DIR)/etc/bash/inputrc.example ; \ |
|
129 cp -p $(COMPONENT_DIR)/Solaris/rbash.1 \ |
|
130 $(PROTOUSRSHAREMAN1DIR)/ ) |
|
131 ( mkdir -p $(PROTO_DIR)/etc/skel ; \ |
|
132 cp -p $(COMPONENT_DIR)/Solaris/etc.skel.bashrc \ |
|
133 $(PROTO_DIR)/etc/skel/.bashrc ) |
|
134 ( cd $(PROTOUSRSHAREDIR)/locale ; \ |
127 ( cd $(PROTOUSRSHAREDIR)/locale ; \ |
135 cp -Rp "en@boldquot" en ; \ |
128 cp -Rp "en@boldquot" en ; \ |
136 cp -Rp "en@boldquot" en_CA ; \ |
129 cp -Rp "en@boldquot" en_CA ; \ |
137 cp -Rp "en@boldquot" en_GB ) |
130 cp -Rp "en@boldquot" en_GB ) |
138 sed -f oracleman-stability $(PROTOUSRSHAREMAN1DIR)/bash.1 > \ |
|
139 $(PROTOUSRSHAREMAN1DIR)/bash.1.sed |
|
140 cp -fp $(PROTOUSRSHAREMAN1DIR)/bash.1.sed \ |
|
141 $(PROTOUSRSHAREMAN1DIR)/bash.1 |
|
142 sed -f oracleman-stability $(PROTOUSRSHAREMAN1DIR)/rbash.1 > \ |
|
143 $(PROTOUSRSHAREMAN1DIR)/rbash.1.sed |
|
144 cp -fp $(PROTOUSRSHAREMAN1DIR)/rbash.1.sed \ |
|
145 $(PROTOUSRSHAREMAN1DIR)/rbash.1 |
|
146 rm -f $(PROTOUSRSHAREMAN1DIR)/bash.1.sed \ |
|
147 $(PROTOUSRSHAREMAN1DIR)/rbash.1.sed |
|
148 |
131 |
149 test: $(BUILD_32) |
132 test: $(TEST_32) |
150 ( cd $(BUILD_DIR_32) ; \ |
|
151 env - $(TEST_PATH) $(TARGET_ENV) $(GMAKE) check > \ |
|
152 $(TEST_OUTPUT) 2>&1 ) |
|
153 |
133 |
154 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
134 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
155 |
135 |
156 include ../../make-rules/depend.mk |
136 include ../../make-rules/depend.mk |
157 |
137 |