33 COMPONENT_PROJECT_URL= http://pcre.org/ |
33 COMPONENT_PROJECT_URL= http://pcre.org/ |
34 COMPONENT_BUGDB= library/pcre |
34 COMPONENT_BUGDB= library/pcre |
35 |
35 |
36 TPNO= 25877 |
36 TPNO= 25877 |
37 |
37 |
|
38 TEST_TARGET= install $(TEST_32_and_64) |
|
39 SYSTEM_TEST_TARGET= build $(SYSTEM_TEST_32_and_64) |
38 include $(WS_MAKE_RULES)/common.mk |
40 include $(WS_MAKE_RULES)/common.mk |
39 |
41 |
40 # pick up -xc99=all in CFLAGS |
42 # pick up -xc99=all in CFLAGS |
41 studio_C99MODE= $(studio_C99_ENABLE) |
43 studio_C99MODE= $(studio_C99_ENABLE) |
42 |
44 |
95 COMPONENT_BUILD_ENV+= "INSTALL=$(INSTALL)" |
97 COMPONENT_BUILD_ENV+= "INSTALL=$(INSTALL)" |
96 COMPONENT_BUILD_ENV+= "MAKE=$(GMAKE)" |
98 COMPONENT_BUILD_ENV+= "MAKE=$(GMAKE)" |
97 |
99 |
98 COMPONENT_BUILD_ARGS+= -e |
100 COMPONENT_BUILD_ARGS+= -e |
99 |
101 |
|
102 COMPONENT_INSTALL_ARGS+= "INSTALL=$(INSTALL)" |
|
103 COMPONENT_INSTALL_ARGS+= "MAKE=$(GMAKE)" |
|
104 |
100 # Master test results are the same for 32-bit and 64-bit, so override |
105 # Master test results are the same for 32-bit and 64-bit, so override |
101 # here, rather than create multiple identical master files. |
106 # here, rather than create multiple identical master files. |
102 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
107 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
|
108 |
|
109 # Get correct libpcre.so.0 from the build area. |
|
110 TEST_LIBPATH.32 = $(PROTOUSRLIBDIR) |
|
111 TEST_LIBPATH.64 = $(PROTOUSRLIBDIR64) |
|
112 COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS)) |
103 |
113 |
104 COMPONENT_TEST_TRANSFORMS += \ |
114 COMPONENT_TEST_TRANSFORMS += \ |
105 '-e "/Nothing to be done/d"' \ |
115 '-e "/Nothing to be done/d"' \ |
106 '-e "/Leaving directory/d"' \ |
116 '-e "/Leaving directory/d"' \ |
107 '-e "/Entering directory/d"' \ |
117 '-e "/Entering directory/d"' \ |
108 '-e "s|Testsuite summary for PCRE .*|Testsuite summary for PCRE|" ' |
118 '-e "s|Testsuite summary for PCRE .*|Testsuite summary for PCRE|" ' |
109 |
119 |
110 COMPONENT_INSTALL_ARGS+= "INSTALL=$(INSTALL)" |
|
111 COMPONENT_INSTALL_ARGS+= "MAKE=$(GMAKE)" |
|
112 |
|
113 REQUIRED_PACKAGES += compress/bzip2 |
120 REQUIRED_PACKAGES += compress/bzip2 |
114 REQUIRED_PACKAGES += library/zlib |
121 REQUIRED_PACKAGES += library/zlib |
115 REQUIRED_PACKAGES += shell/ksh93 |
122 REQUIRED_PACKAGES += shell/ksh93 |
116 REQUIRED_PACKAGES += system/library/c++-runtime |
123 REQUIRED_PACKAGES += system/library/c++-runtime |
117 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
124 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |