ports/65086: Update port: graphics/qcread
KATO Tsuguru
tkato at prontomail.com
Fri Apr 2 16:40:23 UTC 2004
>Number: 65086
>Category: ports
>Synopsis: Update port: graphics/qcread
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 02 08:40:23 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Support USE_GETOPT_LONG
Remove file:
files/patch-aa
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/qcread/Makefile graphics/qcread/Makefile
--- /usr/ports/graphics/qcread/Makefile Wed Mar 31 22:53:45 2004
+++ graphics/qcread/Makefile Wed Mar 31 23:08:20 2004
@@ -7,6 +7,7 @@
PORTNAME= qcread
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.fhttpd.org/pub/qcread/
@@ -15,9 +16,11 @@
ONLY_FOR_ARCHS= i386
-post-extract:
+USE_GETOPT_LONG= yes
- @${CP} -r ${WRKSRC}/gnu-getopt/. ${WRKSRC}
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
+ -o qcread qcread.c cqc.c -lm ${LDFLAGS}
do-install:
${INSTALL} ${COPY} -o root -g wheel -m 644 ${WRKSRC}/qcam.conf ${PREFIX}/etc/qcam.conf.dist
diff -urN /usr/ports/graphics/qcread/files/patch-aa graphics/qcread/files/patch-aa
--- /usr/ports/graphics/qcread/files/patch-aa Wed Sep 22 02:24:12 1999
+++ graphics/qcread/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,26 +0,0 @@
---- Makefile.old Sun Aug 23 21:51:14 1998
-+++ Makefile Sun Aug 23 21:53:23 1998
-@@ -9,17 +9,17 @@
-
- # for Linux
- #
--CFLAGS = -O -DLinux
--INCLUDES = cqc.h
--OBJS = cqc.o
-+#CFLAGS = -O -DLinux
-+#INCLUDES = cqc.h
-+#OBJS = cqc.o
- #
- # end Linux options
-
- ## for FreeBSD
- ##
--#CFLAGS = -g -O -Ignu-getopt -DFreeBSD
--#INCLUDES = cqc.h gnu-getopt/getopt.h
--#OBJS = cqc.o gnu-getopt/getopt.o gnu-getopt/getopt1.o
-+CFLAGS+= -I. -DFreeBSD
-+INCLUDES = cqc.h getopt.h
-+OBJS = cqc.o getopt.o getopt1.o
- ##
- ## end FreeBSD options
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list