Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18190 closed enhancement (fixed)

RFE: alternate universal build of libiconv

Reported by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: libiconv universal Cc:
Port: libiconv

Description

Attached is an alternate build mechanism for libiconv which,
hopefully, is a little easier to maintain.

Attachments (1)

Portfile.diff (1.4 KB) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

I'd like to use this, but on Tiger / PowerPC it says:

--->  Fetching libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
universal: Running configure for architecture ppc
universal: Running configure for architecture i386
Error: Target org.macports.configure returned: configure failure: shell command " cd "/mp/var/macports/build/_Volumes_data_macports_ports_textproc_libiconv/work/i386" && ./configure --prefix=/mp --enable-static --mandir=/mp/share/man --docdir=/mp/share/doc/libiconv-1.12 --without-libiconv-prefix --without-libintl-prefix --disable-nls --enable-extra-encodings --disable-dependency-tracking --host=core2-apple-darwin " returned error 1
Command output: configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for core2-apple-darwin-strip... no
checking for strip... strip
checking whether make sets $(MAKE)... (cached) yes
checking for core2-apple-darwin-gcc... /usr/bin/gcc-4.0 -arch i386
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 -arch i386 accepts -g... yes
checking for /usr/bin/gcc-4.0 -arch i386 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.0 -arch i386... none
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... Invalid configuration `core2-apple-darwin': machine `core2-apple' not recognized
configure: error: /bin/sh build-aux/config.sub core2-apple-darwin failed

Error: Unable to upgrade port: 1

comment:2 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attaches is another try using the merger_host variable.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

This is affecting cairo as well, so I think it's something that should be handled by muniversal and not the individual portfiles, so I filed #18214.

comment:4 in reply to:  3 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

With r46000, there is no longer a need to set merger_host.
The new Portfile.diff reflects this.

Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile.diff added

comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Committed in r46078, thanks.

comment:6 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.