ports/148964: graphics/aaphoto fix build on FreeBSD 6.x amd64

Andras Horvath han at log69.com
Mon Jul 26 14:00:18 UTC 2010


>Number:         148964
>Category:       ports
>Synopsis:       graphics/aaphoto fix build on FreeBSD 6.x amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 14:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andras Horvath
>Release:        6.4-RELEASE-p7
>Organization:
>Environment:
>Description:
Fix build on 6.x amd64.

>How-To-Repeat:

>Fix:
Parenthesis were missing in Makefile at platform check, though logical order of compare should be fine without it too in my opinion.


Patch attached with submission follows:

diff -ru aaphoto.old/Makefile aaphoto/Makefile
--- aaphoto.old/Makefile	2010-07-26 17:55:25.000000000 +0200
+++ aaphoto/Makefile	2010-07-26 17:45:26.000000000 +0200
@@ -35,7 +35,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "amd64" || ${ARCH} == "i386" && ${OSVERSION} >= 700000
+.if (${ARCH} == "amd64" || ${ARCH} == "i386") && ${OSVERSION} >= 700000
 CFLAGS+=	-fopenmp -D__OPENMP__
 .endif
 


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



More information about the freebsd-ports-bugs mailing list