Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 01:30:41 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65086: Update port: graphics/qcread
Message-ID:  <20040403013041.7413472d.tkato@prontomail.com>
Resent-Message-ID: <200404021640.i32GeNSS033575@freefall.freebsd.org>

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

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



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