[MacPorts] #46603: Netpbm 10.69.02 does not build on PPC Tiger (Mac OS X 10.4.11) because of a faulty Makefile
#46603: Netpbm 10.69.02 does not build on PPC Tiger (Mac OS X 10.4.11) because of a faulty Makefile -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: netpbm -----------------------------+-------------------------------- {{{ gnumake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced/other/pamx' /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced/other/pamx/Makefile:13: Extraneous text after `else' directive /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced/other/pamx/Makefile:22: *** only one `else' per conditional. Stop. gnumake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced/other/pamx' gnumake[1]: *** [pamx/all] Error 2 gnumake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced/other' gnumake: *** [other/all] Error 2 gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced" && /usr/bin/gnumake -w messages=yes Exit code: 2 }}} The lines mentioned are: {{{ 12 ifeq ($(WANT_X11),N) 13 else ifeq ($(shell pkg-config x11 --modversion --silence-errors),) 14 # Pkg-config has never heard of X11, or doesn't even exist 15 16 ifneq ($(X11LIB),NONE) 17 HAVE_X11LIB = Y 18 ifneq ($(X11HDR_DIR)x,x) 19 EXTERN_INCLUDES += -I$(X11HDR_DIR) 20 endif 21 endif 22 else 23 HAVE_X11LIB = Y 24 X11LIB = $(shell pkg-config x11 --libs) 25 EXTERN_INCLUDES += $(shell pkg-config x11 --cflags) 26 endif }}} -- Ticket URL: <https://trac.macports.org/ticket/46603> MacPorts <https://www.macports.org/> Ports system for OS X
#46603: Netpbm 10.69.02 does not build on PPC Tiger (Mac OS X 10.4.11) because of a faulty Makefile ------------------------------+-------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: netpbm | ------------------------------+-------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * owner: macports-tickets@… => ryandesign@… * status: new => assigned * keywords: => tiger Comment: Ah. This is from a patch I added recently (#43566). This works with make 3.81, but Tiger has make 3.80. Should be simple to revise the patch to be compatible with make 3.80. -- Ticket URL: <https://trac.macports.org/ticket/46603#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46603: Netpbm 10.69.02 does not build on PPC Tiger (Mac OS X 10.4.11) because of a faulty Makefile ------------------------------+-------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: netpbm | ------------------------------+-------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:1 ryandesign@…]:
Ah. This is from a patch I added recently (#43566). This works with make 3.81, but Tiger has make 3.80. Should be simple to revise the patch to be compatible with make 3.80.
Adding in Portfile on line #68 {{{ MAKE = gmake }}} seems to be a fix for this issue. -- Ticket URL: <https://trac.macports.org/ticket/46603#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46603: Netpbm 10.69.02 does not build on PPC Tiger (Mac OS X 10.4.11) because of a faulty Makefile ------------------------------+-------------------------- Reporter: Peter_Dyballa@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: netpbm | ------------------------------+-------------------------- Comment (by ryandesign@…): Yes, using MacPorts gmake instead of Xcode's is a workaround. It should be possible to rewrite the Makefile patch so that this is not necessary, but I have not had time to do this. I'll add the gmake dependency until then. r133871 -- Ticket URL: <https://trac.macports.org/ticket/46603#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts