View | Details | Raw Unified | Return to bug 108683
Collapse All | Expand All

(-)./Makefile (-5 / +13 lines)
Lines 6-11 Link Here
6
6
7
PORTNAME=	boinc-setiathome-enhanced
7
PORTNAME=	boinc-setiathome-enhanced
8
PORTVERSION=	5.13
8
PORTVERSION=	5.13
9
PORTREVISION=	1
9
CATEGORIES=	astro
10
CATEGORIES=	astro
10
MASTER_SITES=	http://home.tiscali.nl/rladan/distfiles/
11
MASTER_SITES=	http://home.tiscali.nl/rladan/distfiles/
11
12
Lines 18-37 Link Here
18
LIB_DEPENDS=	fftw3f:${PORTSDIR}/math/fftw3-float
19
LIB_DEPENDS=	fftw3f:${PORTSDIR}/math/fftw3-float
19
RUN_DEPENDS=	boinc_client:${PORTSDIR}/net/boinc-client
20
RUN_DEPENDS=	boinc_client:${PORTSDIR}/net/boinc-client
20
21
22
USE_AUTOTOOLS=	libtool:15
23
21
# The compiler flags below are copied from m4/optimizations.m4,
24
# The compiler flags below are copied from m4/optimizations.m4,
22
# leaving out the -march flag which is set by /usr/share/mk/bsd.cpu.mk
25
# leaving out the -march flag which is set by /usr/share/mk/bsd.cpu.mk
23
.if ${MACHINE_CPU:Msse3}
26
.if ${MACHINE_CPU:Msse3}
24
CFLAGS+=	-msse3 -mfpmath=sse
27
CFLAGS+=	-msse3
25
.elif ${MACHINE_CPU:Msse2}
28
.elif ${MACHINE_CPU:Msse2}
26
CFLAGS+=	-msse2 -mfpmath=sse
29
CFLAGS+=	-msse2
27
.elif ${MACHINE_CPU:Msse}
30
.elif ${MACHINE_CPU:Msse}
28
CFLAGS+=	-msse -mfpmath=sse
31
CFLAGS+=	-msse
29
.endif
32
.endif
30
.if ${MACHINE_CPU:Mmmx}
33
.if ${MACHINE_CPU:Mmmx}
31
CFLAGS+=	-mmmx -mfpmath=387
34
CFLAGS+=	-mmmx
32
.endif
35
.endif
33
.ifdef ${MACHINE_CPU:M3dnow}
36
.ifdef ${MACHINE_CPU:M3dnow}
34
CFLAGS+=	-m3dnow -mfpmath=387
37
CFLAGS+=	-m3dnow
38
.endif
39
.if ${MACHINE_CPU:Msse3} || ${MACHINE_CPU:Msse2} || ${MACHINE_CPU:Msse}
40
CFLAGS+=	-mfpmath=sse
41
.else
42
CFLAGS+=	-mfpmath=387
35
.endif
43
.endif
36
# From http://www,lb.shuttle.de/apastron/boincDown.shtml :
44
# From http://www,lb.shuttle.de/apastron/boincDown.shtml :
37
# what about other 64 bit archs (especially S/390, see gcc.info.gz) ?
45
# what about other 64 bit archs (especially S/390, see gcc.info.gz) ?

Return to bug 108683