Opened 14 years ago

Closed 14 years ago

#25099 closed defect (fixed)

arpack: Makefile:78: *** missing separator. Stop.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: arpack

Description

arpack 1_4 fails to install:

--->  Building arpack
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (arpack)
DEBUG: port disallows a parallel build
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_arpack/work/ARPACK" && /usr/bin/nice -n 10 /usr/bin/make all home=/opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_arpack/work/ARPACK FFLAGS='-O2 -m64' FC=/opt/local/bin/gfortran-mp-4.3 MAKE=/usr/bin/make'
Makefile:78: *** missing separator.  Stop.

The last lines of the Makefile are:

.PHONY install
	.install: libarpack.a libarpack.1.dylib
	install -m 644 -v libarpack.a
	install -m 755 -v libarpack.1.dylib

This looks wrong. Shouldn't it be:

.PHONY: install
install: libarpack.a libarpack.1.dylib
	install -m 644 -v libarpack.a
	install -m 755 -v libarpack.1.dylib

In fact, with the universal variant, it already creates the Makefile correctly; without the universal variant, it doesn't. The attached patch makes this change for the non-universal build.

Attachments (1)

arpack.diff (573 bytes) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: arpack.diff added

proposed patch

comment:1 Changed 14 years ago by mamoll (Mark Moll)

Fixed in r68346. There were a few other small bugs.

comment:2 Changed 14 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.