components/imagemagick/Makefile
author Tomas Kuthan <tomas.kuthan@oracle.com>
Wed, 20 Apr 2016 14:58:30 -0700
changeset 5823 d41c1305c674
parent 5682 94c0ca64c022
child 6020 83b3789e8d88
permissions -rw-r--r--
22931214 upgrade OpenSSH to 7.2p2 (fix mirror)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     1
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     3
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     7
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    12
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    18
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    20
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    21
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    22
#
5638
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4959
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    25
BUILD_BITS= 64_and_32
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    27
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=			ImageMagick
1255
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    29
COMPONENT_VERSION=		6.8.3
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    30
COMPONENT_SUBVERSION=		5
582
f788d69e0553 7085723 use pkg.human-version
Rich Burridge <rich.burridge@oracle.com>
parents: 574
diff changeset
    31
HUMAN_VERSION=			$(COMPONENT_VERSION)-$(COMPONENT_SUBVERSION)
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 582
diff changeset
    32
COMPONENT_PROJECT_URL=		http://www.imagemagick.org/
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE=		$(COMPONENT_SRC)-$(COMPONENT_SUBVERSION).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
1255
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    35
    sha256:daead80170bc6d44cf6a54b4817446cbb7211b8ee445532b64033af190265fe3
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    36
COMPONENT_ARCHIVE_URL=	http://image_magick.veidrodis.com/image_magick/$(COMPONENT_ARCHIVE)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    37
COMPONENT_BUGDB=	utility/imagemagick
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    38
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1836
diff changeset
    39
TPNO=			17708
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1836
diff changeset
    40
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    41
include $(WS_MAKE_RULES)/common.mk
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    42
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    43
PATH=$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN)
519
64d5e70ee0eb 7086596 userland problems on 173
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 501
diff changeset
    44
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    45
# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but in
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    46
# this case we need to replace the '-' by '.'.
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    47
IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION).$(COMPONENT_SUBVERSION)
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    48
1255
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    49
COMPONENT_POST_UNPACK_ACTION= ( $(MV) $(COMPONENT_SRC)-$(COMPONENT_SUBVERSION) \
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    50
    $(COMPONENT_SRC))
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    51
5638
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4959
diff changeset
    52
# To get the Perl modules built it is necessary to copy the PerlMagick
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4959
diff changeset
    53
# directory to the build directory
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    54
COMPONENT_PRE_CONFIGURE_ACTION += ($(CP) -R $(SOURCE_DIR)/PerlMagick $(@D))
1255
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    55
4959
a998fbbcbd44 21955930 libsocket tweak needed for imagemagick
John Beck <John.Beck@Oracle.COM>
parents: 4869
diff changeset
    56
ifeq ($(OS_VERSION),5.11)
a998fbbcbd44 21955930 libsocket tweak needed for imagemagick
John Beck <John.Beck@Oracle.COM>
parents: 4869
diff changeset
    57
LIBS += -lsocket -lnsl
a998fbbcbd44 21955930 libsocket tweak needed for imagemagick
John Beck <John.Beck@Oracle.COM>
parents: 4869
diff changeset
    58
CONFIGURE_ENV += LIBS="$(LIBS)"
a998fbbcbd44 21955930 libsocket tweak needed for imagemagick
John Beck <John.Beck@Oracle.COM>
parents: 4869
diff changeset
    59
endif
a998fbbcbd44 21955930 libsocket tweak needed for imagemagick
John Beck <John.Beck@Oracle.COM>
parents: 4869
diff changeset
    60
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    61
# Show name of "error tag" as part of the warning
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    62
CFLAGS.studio += -errtags=yes
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    63
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    64
studio_C99MODE= $(studio_C99_ENABLE)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    65
3798
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    66
# To remove the compiler complaints about __restrict keyword,
1255
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    67
# -D_magickcore_restrict should be used.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    68
CFLAGS += -D_magickcore_restrict=
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    69
485
9b12cda204fe 7080213 gcc-3 should not deliver /usr/gnu/bin/cc and its man page.
Rich Burridge <rich.burridge@oracle.com>
parents: 383
diff changeset
    70
# Needed to generate a decent RUNPATH for Magick.so
9b12cda204fe 7080213 gcc-3 should not deliver /usr/gnu/bin/cc and its man page.
Rich Burridge <rich.burridge@oracle.com>
parents: 383
diff changeset
    71
#
9b12cda204fe 7080213 gcc-3 should not deliver /usr/gnu/bin/cc and its man page.
Rich Burridge <rich.burridge@oracle.com>
parents: 383
diff changeset
    72
COMPONENT_BUILD_ARGS += LD="$(CC)"
9b12cda204fe 7080213 gcc-3 should not deliver /usr/gnu/bin/cc and its man page.
Rich Burridge <rich.burridge@oracle.com>
parents: 383
diff changeset
    73
COMPONENT_BUILD_ARGS += LD_RUN_PATH="$(CONFIGURE_LIBDIR.$(BITS))"
9b12cda204fe 7080213 gcc-3 should not deliver /usr/gnu/bin/cc and its man page.
Rich Burridge <rich.burridge@oracle.com>
parents: 383
diff changeset
    74
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    75
CONFIGURE_OPTIONS+= --with-modules
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    76
CONFIGURE_OPTIONS+= --enable-shared
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    77
CONFIGURE_OPTIONS+= --disable-static
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    78
CONFIGURE_OPTIONS+= --without-gvc
1257
167a42b7a742 15803946 problem in UTILITY/IMAGEMAGICK (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1255
diff changeset
    79
CONFIGURE_OPTIONS+= --disable-openmp
1255
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    80
# Using option 'with-fontconfig=no' so that the fonts/fonts path specified in
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    81
# configuration file 'type-ghostscript.xml' is being used.
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    82
CONFIGURE_OPTIONS+= --with-fontconfig=no
3798
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    83
# Configure option 'with-gs-font-dir' is required because some build systems
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    84
# might not have ghostscript fonts installed.
1255
b7b09f9348b7 15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd
Sonam Gupta <sonam.x.gupta@oracle.com>
parents: 1058
diff changeset
    85
CONFIGURE_OPTIONS+= --with-gs-font-dir="/usr/share/ghostscript/fonts"
574
565d8fefef39 7087597 imagemagick utilities are built 32-bit with 64-bit library paths
Rich Burridge <rich.burridge@oracle.com>
parents: 519
diff changeset
    86
CONFIGURE_OPTIONS+= --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) 
5638
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4959
diff changeset
    87
CONFIGURE_OPTIONS.32+= --without-perl
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4959
diff changeset
    88
CONFIGURE_OPTIONS.64+= --with-perl=$(PERL)
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4959
diff changeset
    89
CONFIGURE_OPTIONS.64+= --with-perl-options="INSTALLDIRS=vendor"
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    90
3798
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    91
# Needed for "gmake test" to work successfully.  If SHELLOPTS is exported (as
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    92
# it is by the Userland Makefiles), then all shell options get exported to
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    93
# child invocations of bash, which results in test failures due to nounset and
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    94
# xtrace being set unexpectedly, and errors such as "$1: unbound variable" and
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    95
# diffs failing due to script tracing in output files.
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    96
unexport SHELLOPTS
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    97
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    98
# Tests hang waiting for input unless stdin is redirected.
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
    99
COMPONENT_TEST_TARGETS = check < /dev/null
c0f7a9f723ca 20192735 ImageMagick should gets its tests to run, with master results
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   100
4869
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   101
# Master test transforms
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   102
COMPONENT_TEST_TRANSFORMS += \
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   103
	'-n '\
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   104
	'-e "/TOTAL/p" ' \
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   105
	'-e "/SKIP/p" ' \
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   106
	'-e "/PASS/p" ' \
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   107
	'-e "/FAIL/p" ' \
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   108
	'-e "/ERROR/p" ' 
86742f9e20a9 20530770 ImageMagick "gmake test" failures
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4339
diff changeset
   109
1385
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   110
# Remove build machine runpath from libMagick++-6.Q16.so.1.0.0 and
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   111
# libMagickCore-6.Q16.so.1.0.0
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   112
COMPONENT_POST_INSTALL_ACTION.32 += \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   113
	$(ELFEDIT) -e 'dyn:delete RUNPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   114
	    $(PROTOUSRLIBDIR)/libMagick++-6.Q16.so.1.0.0; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   115
	$(ELFEDIT) -e 'dyn:delete RPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   116
	    $(PROTOUSRLIBDIR)/libMagick++-6.Q16.so.1.0.0; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   117
	$(ELFEDIT) -e 'dyn:delete RUNPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   118
	    $(PROTOUSRLIBDIR)/libMagickCore-6.Q16.so.1.0.0; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   119
	$(ELFEDIT) -e 'dyn:delete RPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   120
	    $(PROTOUSRLIBDIR)/libMagickCore-6.Q16.so.1.0.0
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   121
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   122
COMPONENT_POST_INSTALL_ACTION.64 += \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   123
	$(ELFEDIT) -e 'dyn:delete RUNPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   124
	    $(PROTOUSRLIBDIR64)/libMagick++-6.Q16.so.1.0.0; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   125
	$(ELFEDIT) -e 'dyn:delete RPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   126
	    $(PROTOUSRLIBDIR64)/libMagick++-6.Q16.so.1.0.0; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   127
	$(ELFEDIT) -e 'dyn:delete RUNPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   128
	    $(PROTOUSRLIBDIR64)/libMagickCore-6.Q16.so.1.0.0; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   129
	$(ELFEDIT) -e 'dyn:delete RPATH' \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
   130
	    $(PROTOUSRLIBDIR64)/libMagickCore-6.Q16.so.1.0.0
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
   131
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   132
REQUIRED_PACKAGES += compress/bzip2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   133
REQUIRED_PACKAGES += compress/xz
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   134
REQUIRED_PACKAGES += image/library/libjpeg
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   135
REQUIRED_PACKAGES += image/library/libpng
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   136
REQUIRED_PACKAGES += image/library/libtiff
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   137
REQUIRED_PACKAGES += library/desktop/cairo
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   138
REQUIRED_PACKAGES += library/desktop/pango
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   139
REQUIRED_PACKAGES += library/fftw-3
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   140
REQUIRED_PACKAGES += library/glib2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   141
REQUIRED_PACKAGES += library/lcms
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   142
REQUIRED_PACKAGES += library/libtool/libltdl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   143
REQUIRED_PACKAGES += library/libxml2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   144
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   145
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   146
REQUIRED_PACKAGES += system/library/c++-runtime
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   147
REQUIRED_PACKAGES += system/library/fontconfig
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   148
REQUIRED_PACKAGES += system/library/freetype-2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   149
REQUIRED_PACKAGES += system/library/math
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   150
REQUIRED_PACKAGES += system/library/openmp
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   151
REQUIRED_PACKAGES += x11/library/libx11
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3798
diff changeset
   152
REQUIRED_PACKAGES += x11/library/libxext