ports/70737: [UPDATE] Enable OPTIONS feature of ports/graphics/sane-backends

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 17:30:21 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list