Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 01:10:41 +0800 (CST)
From:      Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70733: [UPDATE] Enable OPTIONS feature of ports/graphics/ale
Message-ID:  <200408201710.i7KHAfn5057621@alumni.csie.nctu.edu.tw>
Resent-Message-ID: <200408201720.i7KHKML6039438@freefall.freebsd.org>

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

>Number:         70733
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/graphics/ale
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 17:20:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/graphics/ale

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- ale.patch begins here ---
diff -ruN /usr/ports/graphics/ale/Makefile ale/Makefile
--- /usr/ports/graphics/ale/Makefile	Sun Aug 15 23:09:59 2004
+++ ale/Makefile	Fri Aug 20 22:14:39 2004
@@ -18,13 +18,16 @@
 USE_GMAKE=	yes
 USE_REINPLACE=	yes
 
+OPTIONS=	IMAGEMAGICK "ImageMagick Support" on \
+		FFTW3 "FFTW3 Support" on
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500000
 USE_GCC=	3.3
 .endif
 
-.if !defined(WITHOUT_IMAGEMAGICK)
+.if !defined(WITHOUT_FFTW3)
 LIB_DEPENDS+=	Magick.6:${PORTSDIR}/graphics/ImageMagick
 MAKE_ARGS+=	IMAGEMAGICK=1
 .endif
@@ -32,14 +35,6 @@
 .if !defined(WITHOUT_FFTW3)
 LIB_DEPENDS+=	fftw3.3:${PORTSDIR}/math/fftw3
 MAKE_ARGS+=	FFTW=1
-.endif
-
-pre-everything::
-.if !defined(WITHOUT_IMAGEMAGICK)
-	@${ECHO_MSG} "===> Disable ImageMagick Support by defining WITHOUT_IMAGEMAGICK"
-.endif
-.if !defined(WITHOUT_FFTW3)
-	@${ECHO_MSG} "===> Disable FFTW3 Support by defining WITHOUT_FFTW3"
 .endif
 
 post-patch:
--- ale.patch ends here ---


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



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