40 # There are tests, but they fail consistently because the test samples are out |
40 # There are tests, but they fail consistently because the test samples are out |
41 # of date and not generated with a known configuration. See |
41 # of date and not generated with a known configuration. See |
42 # http://graphviz.org/bugs/b2063.html |
42 # http://graphviz.org/bugs/b2063.html |
43 TEST_TARGET= $(SKIP_TEST) |
43 TEST_TARGET= $(SKIP_TEST) |
44 |
44 |
|
45 ifneq ($(BUILD_TYPE), evaluation) |
45 # We want to build a couple of extra things after the installs are done, so set |
46 # We want to build a couple of extra things after the installs are done, so set |
46 # the install targets appropriately. |
47 # the install targets appropriately. |
47 INSTALL_TARGET = $(INSTALL_$(MK_BITS)) |
48 INSTALL_TARGET = $(INSTALL_$(MK_BITS)) |
48 INSTALL_TARGET += $(PROTOUSRLIBDIR)/graphviz/config6 |
49 INSTALL_TARGET += $(PROTOUSRLIBDIR)/graphviz/config6 |
49 INSTALL_TARGET += $(PROTO_DIR)/$(PYTHON.2.7.VENDOR_PACKAGES)/gv.pyc |
50 INSTALL_TARGET += $(PROTO_DIR)/$(PYTHON.2.7.VENDOR_PACKAGES)/gv.pyc |
|
51 endif |
|
52 |
|
53 # Depends on newer cairo, which cannot be updated in S11. |
|
54 include $(WS_MAKE_RULES)/no-evaluation.mk |
50 |
55 |
51 include $(WS_MAKE_RULES)/common.mk |
56 include $(WS_MAKE_RULES)/common.mk |
52 |
57 |
53 PATH = /usr/php/5.6/bin:/usr/bin:/usr/gnu/bin |
58 PATH = /usr/php/5.6/bin:/usr/bin:/usr/gnu/bin |
54 |
59 |
68 CONFIGURE_OPTIONS += --enable-python27=yes |
73 CONFIGURE_OPTIONS += --enable-python27=yes |
69 CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
74 CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
70 |
75 |
71 COMPONENT_BUILD_ARGS += GREP=$(USRBINDIR)/ggrep |
76 COMPONENT_BUILD_ARGS += GREP=$(USRBINDIR)/ggrep |
72 |
77 |
|
78 ifneq ($(BUILD_TYPE), evaluation) |
73 # perl, ruby, php ship 64-bit only. |
79 # perl, ruby, php ship 64-bit only. |
74 $(CONFIGURE_32): CONFIGURE_OPTIONS += --enable-perl=no |
80 $(CONFIGURE_32): CONFIGURE_OPTIONS += --enable-perl=no |
75 $(CONFIGURE_32): CONFIGURE_OPTIONS += --enable-ruby=no |
81 $(CONFIGURE_32): CONFIGURE_OPTIONS += --enable-ruby=no |
76 $(CONFIGURE_32): CONFIGURE_OPTIONS += --enable-php=no |
82 $(CONFIGURE_32): CONFIGURE_OPTIONS += --enable-php=no |
77 $(CONFIGURE_64): CONFIGURE_ENV += PERL=$(PERL) |
83 $(CONFIGURE_64): CONFIGURE_ENV += PERL=$(PERL) |
86 # Put the 64-bit lua module in a 64-bit directory. |
92 # Put the 64-bit lua module in a 64-bit directory. |
87 $(INSTALL_32): COMPONENT_INSTALL_ARGS += LUA_INSTALL_DIR=$(USRLIBDIR)/lua/5.2 |
93 $(INSTALL_32): COMPONENT_INSTALL_ARGS += LUA_INSTALL_DIR=$(USRLIBDIR)/lua/5.2 |
88 $(INSTALL_64): COMPONENT_INSTALL_ARGS += LUA_INSTALL_DIR=$(USRLIBDIR)/lua/5.2/64 |
94 $(INSTALL_64): COMPONENT_INSTALL_ARGS += LUA_INSTALL_DIR=$(USRLIBDIR)/lua/5.2/64 |
89 # Use GNU ln, which supports the -r (--relative) option. |
95 # Use GNU ln, which supports the -r (--relative) option. |
90 COMPONENT_INSTALL_ARGS += LN_S="gln -s" |
96 COMPONENT_INSTALL_ARGS += LN_S="gln -s" |
|
97 endif |
91 |
98 |
92 # Create the config file once the 32-bit build is complete. This runs the bits |
99 # Create the config file once the 32-bit build is complete. This runs the bits |
93 # we just built, so we have to set a handful of variables to the right place. |
100 # we just built, so we have to set a handful of variables to the right place. |
94 # The 32-bit executables are in their own directory, so we have to point to |
101 # The 32-bit executables are in their own directory, so we have to point to |
95 # that version of dot explicitly. |
102 # that version of dot explicitly. |