50 IPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_SUBVERSION) |
50 IPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_SUBVERSION) |
51 |
51 |
52 COMPONENT_POST_UNPACK_ACTION= ( $(MV) $(COMPONENT_SRC)-$(COMPONENT_SUBVERSION) \ |
52 COMPONENT_POST_UNPACK_ACTION= ( $(MV) $(COMPONENT_SRC)-$(COMPONENT_SUBVERSION) \ |
53 $(COMPONENT_SRC)) |
53 $(COMPONENT_SRC)) |
54 |
54 |
55 # To get the Perl modules built it is necessary to copy the PerlMagick directory |
55 # To get the Perl modules built it is necessary to copy the PerlMagick |
56 # to the build directory |
56 # directory to the build directory |
57 COMPONENT_PRE_CONFIGURE_ACTION= ($(CP) -R $(SOURCE_DIR)/PerlMagick $(@D)) |
57 COMPONENT_PRE_CONFIGURE_ACTION= ($(CP) -R $(SOURCE_DIR)/PerlMagick $(@D)) |
58 |
58 |
59 ifeq ($(OS_VERSION),5.11) |
59 ifeq ($(OS_VERSION),5.11) |
60 LIBS += -lsocket -lnsl |
60 LIBS += -lsocket -lnsl |
61 CONFIGURE_ENV += LIBS="$(LIBS)" |
61 CONFIGURE_ENV += LIBS="$(LIBS)" |
84 CONFIGURE_OPTIONS+= --with-fontconfig=no |
84 CONFIGURE_OPTIONS+= --with-fontconfig=no |
85 # Configure option 'with-gs-font-dir' is required because some build systems |
85 # Configure option 'with-gs-font-dir' is required because some build systems |
86 # might not have ghostscript fonts installed. |
86 # might not have ghostscript fonts installed. |
87 CONFIGURE_OPTIONS+= --with-gs-font-dir="/usr/share/ghostscript/fonts" |
87 CONFIGURE_OPTIONS+= --with-gs-font-dir="/usr/share/ghostscript/fonts" |
88 CONFIGURE_OPTIONS+= --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
88 CONFIGURE_OPTIONS+= --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
89 CONFIGURE_OPTIONS.32+= --with-perl=$(PERL) |
89 CONFIGURE_OPTIONS.32+= --without-perl |
90 CONFIGURE_OPTIONS.32+= --with-perl-options="INSTALLDIRS=vendor" |
90 CONFIGURE_OPTIONS.64+= --with-perl=$(PERL) |
91 CONFIGURE_OPTIONS.64+= --without-perl |
91 CONFIGURE_OPTIONS.64+= --with-perl-options="INSTALLDIRS=vendor" |
92 |
92 |
93 # Needed for "gmake test" to work successfully. If SHELLOPTS is exported (as |
93 # Needed for "gmake test" to work successfully. If SHELLOPTS is exported (as |
94 # it is by the Userland Makefiles), then all shell options get exported to |
94 # it is by the Userland Makefiles), then all shell options get exported to |
95 # child invocations of bash, which results in test failures due to nounset and |
95 # child invocations of bash, which results in test failures due to nounset and |
96 # xtrace being set unexpectedly, and errors such as "$1: unbound variable" and |
96 # xtrace being set unexpectedly, and errors such as "$1: unbound variable" and |