diff -ruN /usr/ports/astro/boinc-setiathome-enhanced/Makefile ./Makefile --- /usr/ports/astro/boinc-setiathome-enhanced/Makefile Wed Dec 20 21:04:19 2006 +++ ./Makefile Fri Feb 2 11:37:09 2007 @@ -6,6 +6,7 @@ PORTNAME= boinc-setiathome-enhanced PORTVERSION= 5.13 +PORTREVISION= 1 CATEGORIES= astro MASTER_SITES= http://home.tiscali.nl/rladan/distfiles/ @@ -18,20 +19,27 @@ LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client +USE_AUTOTOOLS= libtool:15 + # The compiler flags below are copied from m4/optimizations.m4, # leaving out the -march flag which is set by /usr/share/mk/bsd.cpu.mk .if ${MACHINE_CPU:Msse3} -CFLAGS+= -msse3 -mfpmath=sse +CFLAGS+= -msse3 .elif ${MACHINE_CPU:Msse2} -CFLAGS+= -msse2 -mfpmath=sse +CFLAGS+= -msse2 .elif ${MACHINE_CPU:Msse} -CFLAGS+= -msse -mfpmath=sse +CFLAGS+= -msse .endif .if ${MACHINE_CPU:Mmmx} -CFLAGS+= -mmmx -mfpmath=387 +CFLAGS+= -mmmx .endif .ifdef ${MACHINE_CPU:M3dnow} -CFLAGS+= -m3dnow -mfpmath=387 +CFLAGS+= -m3dnow +.endif +.if ${MACHINE_CPU:Msse3} || ${MACHINE_CPU:Msse2} || ${MACHINE_CPU:Msse} +CFLAGS+= -mfpmath=sse +.else +CFLAGS+= -mfpmath=387 .endif # From http://www,lb.shuttle.de/apastron/boincDown.shtml : # what about other 64 bit archs (especially S/390, see gcc.info.gz) ?