components/imagemagick/Makefile
author John Beck <John.Beck@Oracle.COM>
Wed, 25 Sep 2013 14:55:34 -0700
changeset 1484 01108fd9c6ef
parent 1385 089964dc63d0
child 1836 ad7c12f49476
permissions -rw-r--r--
PSARC 2013/140 greenlet version 0.4.0 - Python coroutines module PSARC 2013/142 iso8601 version 0.1.4 - Python date parsing module PSARC 2013/143 jsonpointer PSARC 2013/145 tempita version 0.5.1 - Python templating language module PSARC 2013/149 httplib2 version 0.8 PSARC 2013/150 prettytable version 0.7.2 PSARC 2013/151 jsonpatch PSARC 2013/152 repoze.lru version 0.6 PSARC 2013/153 Paste version 1.7.5.1 PSARC 2013/154 jsonschema PSARC 2013/156 webob version 1.2.3 PSARC 2013/157 routes version 1.13 PSARC 2013/161 anyjson PSARC 2013/164 paste.deploy version 1.5.0 PSARC 2013/165 FormEncode version 1.2.6 PSARC 2013/168 py-amqp version 1.0.11 PSARC 2013/170 eventlet PSARC 2013/171 passlib PSARC 2013/172 warlock PSARC 2013/173 sqlalchemy PSARC 2013/174 sqlalchemy-migrate PSARC 2013/175 rabbitmq PSARC 2013/176 pyrabbit PSARC 2013/177 librabbitmq PSARC 2013/179 filechunkio version 1.5 PSARC 2013/180 boto version 2.9.2 PSARC 2013/183 python-ldap version 2.4.10 PSARC 2013/187 Kombu version 2.5.10 PSARC 2013/241 six version 1.3.0 PSARC 2013/242 d2to1 version 0.2.10 PSARC 2013/245 stevedore version 0.10 PSARC 2013/246 pbr version 0.5.18 PSARC 2013/250 pyparsing version 1.5.7 PSARC 2013/251 cliff version 1.4 PSARC 2013/252 cmd2 version 0.6.5.1 PSARC 2013/253 suds version 0.4 PSARC 2013/254 alembic version 0.5.0 PSARC 2013/255 requests version 1.2.3 PSARC 2013/256 markupsafe version 0.18 PSARC 2013/279 importlib version 1.0.2 PSARC 2013/280 ordereddict version 1.1 16665240 The Python greenlet module should be added to Userland 16667497 add the Python eventlet module to Userland 16672571 The Python iso8601 module should be added to Userland 16679500 The Python prettytable module should be added to Userland 16682029 add the Python jsonschema module to Userland 16682050 add the Python anyjson module to Userland 16685766 The Python tempita module should be added to Userland 16688436 add the Python passlib module to Userland 16693200 The Python repoze.lru module should be added to Userland 16699958 The Python webob module should be added to Userland 16699986 The Python paste module should be added to Userland 16710493 The Python paste.deploy module should be added to Userland 16724221 The Python routes module should be added to Userland 16732554 add the Python jsonpatch module to Userland 16732628 add the Python jsonpointer module to Userland 16732673 add the Python warlock module to Userland 16734803 The Python formencode module should be added to Userland 16734806 The Python kombu module should be added to Userland 16734807 The Python httplib2 module should be added to Userland 16734808 The Python boto module should be added to Userland 16734812 The Python py-amqp module should be added to Userland 16740335 add the Python sqlalchemy module to Userland 16740866 add the Python sqlalchemy-migrate module to Userland 16746942 The python-ldap module should be added to Userland 16756023 The Python filechunkio module should be added to Userland 16776524 add RabbitMQ to Userland 16783170 add the Python librabbitmq module to Userland 16789370 add the Python pyrabbit module to Userland 17079852 The Python six module should be added to Userland 17081922 The Python pbr module should be added to Userland 17081941 The Python stevedore module should be added to Userland 17081952 The Python d2to1 module should be added to Userland 17171265 The Python pyparsing module should be added to Userland 17171761 The Python cliff module should be added to Userland 17171787 The Python cmd2 module should be added to Userland 17171805 The Python suds module should be added to Userland 17171821 The Python alembic module should be added to Userland 17171836 The Python requests module should be added to Userland 17171847 The Python markupsafe module should be added to Userland 17285026 The Python importlib module should be added to Userland 17285066 The Python ordereddict module should be added to Userland
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
#
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
    23
# Copyright (c) 2011, 2013, 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
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    25
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_SRC=			$(COMPONENT_NAME)-$(COMPONENT_VERSION)
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    34
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
    35
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
    36
    sha256:daead80170bc6d44cf6a54b4817446cbb7211b8ee445532b64033af190265fe3
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    37
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
    38
COMPONENT_BUGDB=	utility/imagemagick
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    39
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    40
include ../../make-rules/prep.mk
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    41
include ../../make-rules/configure.mk
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    42
include ../../make-rules/ips.mk
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    43
519
64d5e70ee0eb 7086596 userland problems on 173
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 501
diff changeset
    44
PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
64d5e70ee0eb 7086596 userland problems on 173
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 501
diff changeset
    45
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    46
# 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
    47
# this case we need to replace the '-' by '.'.
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    48
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    49
IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION).$(COMPONENT_SUBVERSION)
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    50
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
    51
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
    52
    $(COMPONENT_SRC))
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    53
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    54
# To get the Perl modules built it is necessary to copy the PerlMagick directory
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    55
# to the build directory
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    56
#
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
    57
COMPONENT_PRE_CONFIGURE_ACTION= ($(CP) -R $(SOURCE_DIR)/PerlMagick $(@D))
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
    58
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
    59
LIBS += -lsocket -lnsl
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
    60
CONFIGURE_ENV += LIBS="$(LIBS)"
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    61
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    62
# Show name of "error tag" as part of the warning
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    63
#
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
    64
CFLAGS += -errtags=yes
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
    65
# To remove the complier complaints about __restrict keyword,
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
    66
# -D_magickcore_restrict should be 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
    67
CFLAGS += -xc99=%all -D_magickcore_restrict=
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    68
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
    69
# 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
    70
#
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
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
    72
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
    73
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    74
CONFIGURE_OPTIONS+= CFLAGS="$(CFLAGS)"
206
a4474882bf60 7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 193
diff changeset
    75
CONFIGURE_OPTIONS+= CXXFLAGS="$(CXXFLAGS)"
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    76
CONFIGURE_OPTIONS+= --with-modules
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    77
CONFIGURE_OPTIONS+= --enable-shared=yes
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    78
CONFIGURE_OPTIONS+= --enable-static=no
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    79
CONFIGURE_OPTIONS+= --without-gvc
1257
167a42b7a742 15803946 problem in UTILITY/IMAGEMAGICK (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1255
diff changeset
    80
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
    81
# 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
    82
# 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
    83
CONFIGURE_OPTIONS+= --with-fontconfig=no
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
    84
# Configure option 'with-gs-font-dir' is required because some build systems might 
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
# not have ghostscript fonts installed.
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
    86
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
    87
CONFIGURE_OPTIONS+= --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) 
277
12ebd29ad46c 7050602 userland consolidation should build with perl 5.12 by default
craig mohrman <craig.mohrman@oracle.com>
parents: 206
diff changeset
    88
CONFIGURE_OPTIONS.32+= --with-perl=$(PERL)
383
e37246d1c149 6780150 ImageMagick should not deliver perl modules in site_perl.
Danek Duvall <danek.duvall@oracle.com>
parents: 277
diff changeset
    89
CONFIGURE_OPTIONS.32+= --with-perl-options="INSTALLDIRS=vendor"
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    90
CONFIGURE_OPTIONS.64+= --without-perl
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    91
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    92
# common targets
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    93
#
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    94
build:		$(BUILD_32_and_64)
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    95
1385
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
    96
# 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
    97
# libMagickCore-6.Q16.so.1.0.0
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
    98
install:	$(INSTALL_32_and_64)
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
    99
	/usr/bin/elfedit -e 'dyn:delete RUNPATH' \
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
   100
	    $(PROTO_DIR)/usr/lib/libMagick++-6.Q16.so.1.0.0; \
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
   101
	/usr/bin/elfedit -e 'dyn:delete RUNPATH' \
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
   102
	    $(PROTO_DIR)/usr/lib/$(MACH64)/libMagick++-6.Q16.so.1.0.0; \
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
   103
	/usr/bin/elfedit -e 'dyn:delete RPATH' \
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
   104
	    $(PROTO_DIR)/usr/lib/libMagick++-6.Q16.so.1.0.0; \
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
   105
	/usr/bin/elfedit -e 'dyn:delete RPATH' \
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
   106
	    $(PROTO_DIR)/usr/lib/$(MACH64)/libMagick++-6.Q16.so.1.0.0
1385
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   107
	/usr/bin/elfedit -e 'dyn:delete RUNPATH' \
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   108
	    $(PROTO_DIR)/usr/lib/libMagickCore-6.Q16.so.1.0.0; \
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   109
	/usr/bin/elfedit -e 'dyn:delete RUNPATH' \
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   110
	    $(PROTO_DIR)/usr/lib/$(MACH64)/libMagickCore-6.Q16.so.1.0.0; \
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   111
	/usr/bin/elfedit -e 'dyn:delete RPATH' \
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   112
	    $(PROTO_DIR)/usr/lib/libMagickCore-6.Q16.so.1.0.0; \
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   113
	/usr/bin/elfedit -e 'dyn:delete RPATH' \
089964dc63d0 16843035 I think we forgot to ship some imagemagick headers
Mohana Rao Gorai <mohana.gorai@oracle.com>
parents: 1257
diff changeset
   114
	    $(PROTO_DIR)/usr/lib/$(MACH64)/libMagickCore-6.Q16.so.1.0.0
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   115
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   116
# ImageMagick tests have hard-coded absolute paths inside, so essentially they
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   117
# can be run only after ImageMagick is actually installed and this is not 
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   118
# possible, so the tests are not invoked.
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   119
#
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 171
diff changeset
   120
test:		$(NO_TESTS)
168
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   121
	@echo "Tests can be run only after ImageMagick is installed."
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   122
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   123
BUILD_PKG_DEPENDENCIES= $(BUILD_TOOLS)
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   124
5884bc1edfdf 7026850 move ImageMagick to userland
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
diff changeset
   125
include ../../make-rules/depend.mk