mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Support USE_GETOPT_LONG
PR: ports/65086 Submitted by: Ports Fury
This commit is contained in:
parent
ce7fbff43d
commit
36d2671f00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105984
2 changed files with 5 additions and 28 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue