Date: Sat, 21 Aug 2004 01:20:37 +0800 (CST) From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70737: [UPDATE] Enable OPTIONS feature of ports/graphics/sane-backends Message-ID: <200408201720.i7KHKbnD058152@alumni.csie.nctu.edu.tw> Resent-Message-ID: <200408201730.i7KHULZO039781@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70737 >Category: ports >Synopsis: [UPDATE] Enable OPTIONS feature of ports/graphics/sane-backends >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:30:20 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/sane-backends >How-To-Repeat: Apply the patch. >Fix: --- sane-backends.patch begins here --- diff -ruN /usr/ports/graphics/sane-backends/Makefile sane-backends/Makefile --- /usr/ports/graphics/sane-backends/Makefile Sun Aug 1 00:00:03 2004 +++ sane-backends/Makefile Fri Aug 20 19:33:22 2004 @@ -25,6 +25,9 @@ MAKE_ENV= NOPORTDOCS=${NOPORTDOCS} INSTALLS_SHLIB= yes +OPTIONS= NLS "NLS support" on \ + GPHOTO2 "gPhoto2 support" off + .include <bsd.port.pre.mk> .if defined(WITHOUT_NLS) @@ -41,14 +44,6 @@ .else CONFIGURE_ARGS+= --with-gphoto2=no PLIST_SUB+= GPHOTO2="@comment " -.endif - -pre-everything:: -.if !defined(WITH_GPHOTO2) - @${ECHO_MSG} - @${ECHO_MSG} "If you want to compile with gPhoto2 support," - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_GPHOTO2=yes\"" - @${ECHO_MSG} .endif .include "Makefile.man" --- sane-backends.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?200408201720.i7KHKbnD058152>