Lines 23-43
Link Here
|
23 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ |
23 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ |
24 |
tiff:${PORTSDIR}/graphics/tiff \ |
24 |
tiff:${PORTSDIR}/graphics/tiff \ |
25 |
jpeg:${PORTSDIR}/graphics/jpeg |
25 |
jpeg:${PORTSDIR}/graphics/jpeg |
26 |
.if (${MACHINE_ARCH} == "i386") |
|
|
27 |
LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib |
28 |
.endif |
29 |
|
26 |
|
|
|
27 |
USE_BZIP2= yes |
30 |
USE_XLIB= yes |
28 |
USE_XLIB= yes |
31 |
USE_REINPLACE= yes |
|
|
32 |
USE_GMAKE= yes |
29 |
USE_GMAKE= yes |
33 |
GNU_CONFIGURE= yes |
30 |
GNU_CONFIGURE= yes |
34 |
USE_AUTOTOOLS= autoconf:259 |
31 |
USE_AUTOTOOLS= autoconf:259 |
35 |
LATEST_LINK= ${PORTNAME}36 |
32 |
LATEST_LINK= ${PORTNAME}36 |
36 |
|
33 |
|
|
|
34 |
.include <bsd.port.pre.mk> |
35 |
|
36 |
.if (${ARCH} == "i386") |
37 |
LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib |
38 |
.endif |
39 |
|
37 |
.if defined(WITH_OPTIMIZED_FLAGS) |
40 |
.if defined(WITH_OPTIMIZED_FLAGS) |
38 |
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations |
41 |
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations |
39 |
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar |
42 |
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar |
40 |
.if (${MACHINE_ARCH} == "i386" && !${MACHINE_ARCH} == "amd64" ) |
43 |
.if (${ARCH} == "i386" && !${ARCH} == "amd64" ) |
41 |
CFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double |
44 |
CFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double |
42 |
CXXFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double |
45 |
CXXFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double |
43 |
.endif # i386 |
46 |
.endif # i386 |
Lines 59-68
Link Here
|
59 |
|
62 |
|
60 |
MAN1= povray.1 |
63 |
MAN1= povray.1 |
61 |
|
64 |
|
62 |
.include <bsd.port.pre.mk> |
|
|
63 |
|
64 |
.if ${OSVERSION} < 500000 |
65 |
.if ${OSVERSION} < 500000 |
65 |
BROKEN= "Does not build on 4.x" |
66 |
BROKEN= Does not build on 4.x |
66 |
.endif |
67 |
.endif |
67 |
|
68 |
|
68 |
post-patch: |
69 |
post-patch: |