author | Peter Schow <peter.schow@oracle.com> |
Tue, 10 Mar 2015 09:04:36 -0700 | |
branch | s11-update |
changeset 3954 | 7e6addf418e2 |
parent 3661 | 47545fb8aed4 |
child 2010 | cb03afa45934 |
child 3996 | 20c0f21bbe1e |
permissions | -rw-r--r-- |
457 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
||
22 |
# |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2813
diff
changeset
|
23 |
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
457 | 24 |
# |
25 |
||
26 |
include ../../make-rules/shared-macros.mk |
|
27 |
||
28 |
COMPONENT_NAME= graphviz |
|
29 |
COMPONENT_VERSION= 2.28.0 |
|
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
457
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://www.graphviz.org/ |
457 | 31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
706
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
706
diff
changeset
|
34 |
sha256:d3aa7973c578cae4cc26d9d6498c57ed06680cab9a4e940d0357a3c6527afc76 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
457
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)pub/graphviz/stable/SOURCES/$(COMPONENT_ARCHIVE) |
2434
6c9bb5cf5610
15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
938
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/graphviz |
457 | 37 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2813
diff
changeset
|
38 |
TPNO= 17707 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2813
diff
changeset
|
39 |
|
457 | 40 |
include ../../make-rules/prep.mk |
41 |
include ../../make-rules/configure.mk |
|
42 |
include ../../make-rules/ips.mk |
|
43 |
||
44 |
PATH = /usr/bin:/usr/gnu/bin:/usr/php/5.2/bin |
|
45 |
||
46 |
# GMP header files for the guile extension (no --with- flag) |
|
47 |
# The guile build is broken with studio (7073649), so we disable this for now. |
|
48 |
# CPPFLAGS += -I/usr/include/gmp |
|
49 |
# Java header files (--with-javaincludedir allows for only one directory) |
|
938
2c2880af6a0b
7187873 graphviz isn't using the right java header files
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
800
diff
changeset
|
50 |
CPPFLAGS += -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/solaris |
457 | 51 |
# PHP header files (no --with- flag) |
52 |
CPPFLAGS += $(shell PATH=$(PATH) php-config --includes) |
|
53 |
CXX += $(studio_NORUNPATH) |
|
54 |
||
55 |
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" |
|
56 |
CONFIGURE_ENV += PERL=$(PERL) |
|
2813
db0bfa0fa498
PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
2434
diff
changeset
|
57 |
# Explicitly use Ruby 1.8. Allows switching Ruby default without |
db0bfa0fa498
PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
2434
diff
changeset
|
58 |
# affecting graphviz build. |
db0bfa0fa498
PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
2434
diff
changeset
|
59 |
CONFIGURE_ENV += RUBY=$(RUBY.1.8) |
457 | 60 |
CONFIGURE_OPTIONS += --without-included-ltdl |
61 |
CONFIGURE_OPTIONS += --enable-python=no |
|
62 |
CONFIGURE_OPTIONS += --enable-python26=yes |
|
706
6e61f0012046
7108059 Userland should have python2.7 version of its python modules
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
683
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --enable-python27=yes |
623
15f87c23a86e
7109831 userland pkglint should audit runpaths
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
457 | 65 |
|
66 |
COMPONENT_BUILD_ARGS += GREP=/usr/bin/ggrep |
|
67 |
||
68 |
# common targets |
|
69 |
build: $(BUILD_32) |
|
70 |
||
71 |
install: $(INSTALL_32) |
|
72 |
env LD_LIBRARY_PATH=$(PROTO_DIR)/usr/lib GVBINDIR=$(PROTO_DIR)/usr/lib/graphviz $(PROTO_DIR)/usr/bin/dot -c |
|
73 |
$(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python26 |
|
706
6e61f0012046
7108059 Userland should have python2.7 version of its python modules
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
683
diff
changeset
|
74 |
$(PYTHON.2.7.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python27 |
457 | 75 |
|
76 |
# The test infrastructure doesn't run in a VPATHed environment. |
|
77 |
COMPONENT_PRE_TEST_ACTION = \ |
|
78 |
(cd $(@D)/rtest; ln -s $(SOURCE_DIR)/rtest/* .) |
|
79 |
||
80 |
# There are tests, but they fail consistently because the test samples are out |
|
81 |
# of date and not generated with a known configuration. See |
|
82 |
# http://graphviz.org/bugs/b2063.html |
|
83 |
test: $(NO_TESTS) |
|
84 |
||
85 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |