diff options
author | krion <krion@FreeBSD.org> | 2004-04-03 03:05:33 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-04-03 03:05:33 +0800 |
commit | a6467b3cb374218887e7bcce158e18e51eeefa66 (patch) | |
tree | 4fe9677e08d8d6c930e5893803dbc6876bb35116 /graphics | |
parent | e4c45394312f9eabcd8488edfade23f4d24cae17 (diff) | |
download | freebsd-ports-gnome-a6467b3cb374218887e7bcce158e18e51eeefa66.tar.gz freebsd-ports-gnome-a6467b3cb374218887e7bcce158e18e51eeefa66.tar.zst freebsd-ports-gnome-a6467b3cb374218887e7bcce158e18e51eeefa66.zip |
- Support USE_GETOPT_LONG
PR: ports/65086
Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/qcread/Makefile | 7 | ||||
-rw-r--r-- | graphics/qcread/files/patch-aa | 26 |
2 files changed, 5 insertions, 28 deletions
diff --git a/graphics/qcread/Makefile b/graphics/qcread/Makefile index 75ed227f280e..f01d15e130ac 100644 --- a/graphics/qcread/Makefile +++ b/graphics/qcread/Makefile @@ -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 @@ COMMENT= Supports both color and B&W parallel-port Connectix QuickCam for PC 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 --git a/graphics/qcread/files/patch-aa b/graphics/qcread/files/patch-aa deleted file mode 100644 index 44da6f41dd73..000000000000 --- a/graphics/qcread/files/patch-aa +++ /dev/null @@ -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 - |