Ticket #18190 (closed enhancement: fixed)
RFE: alternate universal build of libiconv
| Reported by: | mcalhoun@… | Owned by: | ryandesign@… |
|---|---|---|---|
| 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
Change History
comment:3 follow-up: ↓ 4 Changed 4 years ago by ryandesign@…
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 4 years ago by mcalhoun@…
With r46000, there is no longer a need to set merger_host.
The new Portfile.diff reflects this.
Note: See
TracTickets for help on using
tickets.


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