Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2006 17:06:18 GMT
From:      "Pedro F. Giffuni" <giffunip@asme.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/93831: Minor cleanups to graphics/povray
Message-ID:  <200602251706.k1PH6Iio008914@www.freebsd.org>
Resent-Message-ID: <200602251710.k1PHA7ap004358@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93831
>Category:       ports
>Synopsis:       Minor cleanups to graphics/povray
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 25 17:10:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.0-Release
>Organization:
>Environment:
FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #12: Sat Feb 11 13:45:47 COT 2006     root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION  amd64
>Description:
              USE_BZIP2 to reduce the download time. Make portlint clean. NO functional changes whatsoever.
>How-To-Repeat:
              
>Fix:
              patch follows:
diff -ruN povray.orig/Makefile povray/Makefile
--- povray.orig/Makefile	Fri Feb 24 21:11:18 2006
+++ povray/Makefile	Sat Feb 25 11:34:03 2006
@@ -23,21 +23,24 @@
 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 @@
 
 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 -ruN povray.orig/distinfo povray/distinfo
--- povray.orig/distinfo	Fri Feb 24 21:11:18 2006
+++ povray/distinfo	Fri Feb 24 21:20:45 2006
@@ -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

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602251706.k1PH6Iio008914>