aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/povray
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-03-15 13:54:21 +0800
committermaho <maho@FreeBSD.org>2006-03-15 13:54:21 +0800
commit3add470ed6d183a897ab44e8a03ee7ee7e8a0ffd (patch)
tree7089b6c96526f88e68a767564930a4074b41f61e /graphics/povray
parentf4e95dde22bdf93bc3ceebc4580d1a096489700e (diff)
downloadfreebsd-ports-gnome-3add470ed6d183a897ab44e8a03ee7ee7e8a0ffd.tar.gz
freebsd-ports-gnome-3add470ed6d183a897ab44e8a03ee7ee7e8a0ffd.tar.zst
freebsd-ports-gnome-3add470ed6d183a897ab44e8a03ee7ee7e8a0ffd.zip
Minor cleanups
PR: 93831 Submitted by: Pedro F. Giffuni <giffunip@asme.org>
Diffstat (limited to 'graphics/povray')
-rw-r--r--graphics/povray/Makefile17
-rw-r--r--graphics/povray/distinfo6
2 files changed, 12 insertions, 11 deletions
diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile
index a33814846e82..d9c74fd0dc59 100644
--- a/graphics/povray/Makefile
+++ b/graphics/povray/Makefile
@@ -23,21 +23,24 @@ BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg
-.if (${MACHINE_ARCH} == "i386")
-LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib
-.endif
+USE_BZIP2= yes
USE_XLIB= yes
-USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:259
LATEST_LINK= ${PORTNAME}36
+.include <bsd.port.pre.mk>
+
+.if (${ARCH} == "i386")
+LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib
+.endif
+
.if defined(WITH_OPTIMIZED_FLAGS)
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar
-.if (${MACHINE_ARCH} == "i386" && !${MACHINE_ARCH} == "amd64" )
+.if (${ARCH} == "i386" && !${ARCH} == "amd64" )
CFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double
CXXFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double
.endif # i386
@@ -59,10 +62,8 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \
MAN1= povray.1
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} < 500000
-BROKEN= "Does not build on 4.x"
+BROKEN= Does not build on 4.x
.endif
post-patch:
diff --git a/graphics/povray/distinfo b/graphics/povray/distinfo
index 0e18f432cee5..29b4687a3b3d 100644
--- a/graphics/povray/distinfo
+++ b/graphics/povray/distinfo
@@ -1,3 +1,3 @@
-MD5 (povray36/povray-3.6.1.tar.gz) = 6d0da1ab9f7a6374d67d6554337311ee
-SHA256 (povray36/povray-3.6.1.tar.gz) = 7b7afd59f502c2d056297d5214ea2632540e2706670e2c552fbe605a5018884f
-SIZE (povray36/povray-3.6.1.tar.gz) = 9032066
+MD5 (povray36/povray-3.6.1.tar.bz2) = b5789bb7eeaed0809c5c82d0efda571d
+SHA256 (povray36/povray-3.6.1.tar.bz2) = 4e8a7fecd44807343b6867e1f2440aa0e09613d6d69a7385ac48f4e5e7737a73
+SIZE (povray36/povray-3.6.1.tar.bz2) = 8200160