ports/70738: [UPDATE] Enable OPTIONS feature of ports/graphics/sane-frontends
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Fri Aug 20 17:30:22 UTC 2004
>Number: 70738
>Category: ports
>Synopsis: [UPDATE] Enable OPTIONS feature of ports/graphics/sane-frontends
>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:21 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-frontends
>How-To-Repeat:
Apply the patch.
>Fix:
--- sane-frontends.patch begins here ---
diff -ruN /usr/ports/graphics/sane-frontends/Makefile sane-frontends/Makefile
--- /usr/ports/graphics/sane-frontends/Makefile Sun Aug 1 00:00:03 2004
+++ sane-frontends/Makefile Fri Aug 20 19:43:58 2004
@@ -26,6 +26,11 @@
MAN1= scanadf.1 xcam.1 xscanimage.1
+OPTIONS= GTK1 "GTK1 support (Default is GTK2)" off \
+ GIMP "also build xscanimage as a GIMP plug-in" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GTK1)
USE_GNOME+= gtk12
CONFIGURE_ARGS+= --disable-gtk2
@@ -45,15 +50,7 @@
.endif
.endif
-pre-everything::
-.if !defined(WITH_GIMP)
- @${ECHO_MSG} "*** Note: xscanimage can be built with a standalone"
- @${ECHO_MSG} "*** X scanner interface as well as a GIMP plug-in."
- @${ECHO_MSG} "*** If you wish to do this, hit Ctrl-C now and use"
- @${ECHO_MSG} "*** \"WITH_GIMP=yes\""
-.endif
-
post-install:
@${SED} 's:/usr/local:${PREFIX}:' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- sane-frontends.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list