From tkato432@yahoo.com  Mon Dec 16 18:05:40 2013
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 23AF53C3
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon, 16 Dec 2013 18:04:34 +0000 (UTC)
Received: from omta02.auone-net.jp (mail-or0-f67.auone-net.jp [106.187.230.67])
	by mx1.freebsd.org (Postfix) with ESMTP id EACD01887
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon, 16 Dec 2013 18:04:33 +0000 (UTC)
Received: from coppermine.my.domain (ZT030106.ppp.dion.ne.jp [59.128.30.106])
	by omta02.auone-net.jp (au one net mail) with ESMTP id 82674156001E
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 17 Dec 2013 03:04:32 +0900 (JST)
Message-Id: <20131217024940.db115b19b587db26aae2f39d@yahoo.com>
Date: Tue, 17 Dec 2013 02:49:40 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: graphics/qcread: Fix build with clang

>Number:         184817
>Category:       ports
>Synopsis:       graphics/qcread: Fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 16 18:10:02 UTC 2013
>Closed-Date:    Thu Dec 19 15:55:41 UTC 2013
>Last-Modified:  Fri Dec 20 08:00:02 UTC 2013
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build with clang
- Add amd64 to ONLY_FOR_ARCHS
- Add LICENSE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/qcread/Makefile graphics/qcread/Makefile
--- /usr/ports/graphics/qcread/Makefile	2013-11-06 22:02:31.000000000 +0900
+++ graphics/qcread/Makefile	2013-12-17 00:00:00.000000000 +0900
@@ -10,18 +10,21 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Supports both color and B&W parallel-port Connectix QuickCam for PC
 
-ONLY_FOR_ARCHS=	i386
+LICENSE=	BSD
+
+USE_CSTD=	gnu89
+
+ONLY_FOR_ARCHS=	amd64 i386
 
-NO_STAGE=	yes
 do-build:
-	cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
-		-o qcread qcread.c cqc.c -lm ${LDFLAGS}
+	(cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
+		-o qcread qcread.c cqc.c -lm ${LDFLAGS})
+	@${LN} -sf qcam.conf ${WRKSRC}/qcam.conf.dist
 
 do-install:
-	${INSTALL} ${COPY} -o root -g wheel -m 644 ${WRKSRC}/qcam.conf ${PREFIX}/etc/qcam.conf.dist
-	if [ ! -e ${PREFIX}/etc/qcam.conf ]; then \
-		${CP} ${PREFIX}/etc/qcam.conf.dist ${PREFIX}/etc/qcam.conf; \
-	fi
-	${INSTALL_PROGRAM} ${WRKSRC}/qcread ${PREFIX}/bin
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} qcread \
+		${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_DATA} qcam.conf.dist \
+		${STAGEDIR}${PREFIX}/etc)
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Thu Dec 19 15:55:40 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184817 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184817: commit references a PR
Date: Thu, 19 Dec 2013 15:55:27 +0000 (UTC)

 Author: pawel
 Date: Thu Dec 19 15:55:19 2013
 New Revision: 336931
 URL: http://svnweb.freebsd.org/changeset/ports/336931
 
 Log:
   - Fix build with clang
   - Add amd64 to ONLY_FOR_ARCHS
   - Add LICENSE
   - Support staging
   
   PR:		ports/184817
   Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
 
 Modified:
   head/graphics/qcread/Makefile   (contents, props changed)
 
 Modified: head/graphics/qcread/Makefile
 ==============================================================================
 --- head/graphics/qcread/Makefile	Thu Dec 19 15:50:10 2013	(r336930)
 +++ head/graphics/qcread/Makefile	Thu Dec 19 15:55:19 2013	(r336931)
 @@ -10,18 +10,21 @@ MASTER_SITES=	http://www.fhttpd.org/pub/
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	Supports both color and B&W parallel-port Connectix QuickCam for PC
  
 -ONLY_FOR_ARCHS=	i386
 +LICENSE=	BSD
 +
 +USE_CSTD=	gnu89
 +
 +ONLY_FOR_ARCHS=	amd64 i386
  
 -NO_STAGE=	yes
  do-build:
 -	cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
 -		-o qcread qcread.c cqc.c -lm ${LDFLAGS}
 +	(cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
 +		-o qcread qcread.c cqc.c -lm ${LDFLAGS})
 +	@${LN} -sf qcam.conf ${WRKSRC}/qcam.conf.dist
  
  do-install:
 -	${INSTALL} ${COPY} -o root -g wheel -m 644 ${WRKSRC}/qcam.conf ${PREFIX}/etc/qcam.conf.dist
 -	if [ ! -e ${PREFIX}/etc/qcam.conf ]; then \
 -		${CP} ${PREFIX}/etc/qcam.conf.dist ${PREFIX}/etc/qcam.conf; \
 -	fi
 -	${INSTALL_PROGRAM} ${WRKSRC}/qcread ${PREFIX}/bin
 +	(cd ${WRKSRC} && ${INSTALL_PROGRAM} qcread \
 +		${STAGEDIR}${PREFIX}/bin)
 +	(cd ${WRKSRC} && ${INSTALL_DATA} qcam.conf.dist \
 +		${STAGEDIR}${PREFIX}/etc)
  
  .include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184817: commit references a PR
Date: Fri, 20 Dec 2013 07:54:45 +0000 (UTC)

 Author: bapt
 Date: Fri Dec 20 07:54:38 2013
 New Revision: 336973
 URL: http://svnweb.freebsd.org/changeset/ports/336973
 
 Log:
   MFH: r336931
   
   - Fix build with clang
   - Add amd64 to ONLY_FOR_ARCHS
   - Add LICENSE
   - Support staging
   
   PR:		ports/184817
   Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
 
 Modified:
   branches/2014Q1/graphics/qcread/Makefile   (contents, props changed)
 Directory Properties:
   branches/2014Q1/   (props changed)
 
 Modified: branches/2014Q1/graphics/qcread/Makefile
 ==============================================================================
 --- branches/2014Q1/graphics/qcread/Makefile	Fri Dec 20 07:53:52 2013	(r336972)
 +++ branches/2014Q1/graphics/qcread/Makefile	Fri Dec 20 07:54:38 2013	(r336973)
 @@ -10,18 +10,21 @@ MASTER_SITES=	http://www.fhttpd.org/pub/
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	Supports both color and B&W parallel-port Connectix QuickCam for PC
  
 -ONLY_FOR_ARCHS=	i386
 +LICENSE=	BSD
 +
 +USE_CSTD=	gnu89
 +
 +ONLY_FOR_ARCHS=	amd64 i386
  
 -NO_STAGE=	yes
  do-build:
 -	cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
 -		-o qcread qcread.c cqc.c -lm ${LDFLAGS}
 +	(cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
 +		-o qcread qcread.c cqc.c -lm ${LDFLAGS})
 +	@${LN} -sf qcam.conf ${WRKSRC}/qcam.conf.dist
  
  do-install:
 -	${INSTALL} ${COPY} -o root -g wheel -m 644 ${WRKSRC}/qcam.conf ${PREFIX}/etc/qcam.conf.dist
 -	if [ ! -e ${PREFIX}/etc/qcam.conf ]; then \
 -		${CP} ${PREFIX}/etc/qcam.conf.dist ${PREFIX}/etc/qcam.conf; \
 -	fi
 -	${INSTALL_PROGRAM} ${WRKSRC}/qcread ${PREFIX}/bin
 +	(cd ${WRKSRC} && ${INSTALL_PROGRAM} qcread \
 +		${STAGEDIR}${PREFIX}/bin)
 +	(cd ${WRKSRC} && ${INSTALL_DATA} qcam.conf.dist \
 +		${STAGEDIR}${PREFIX}/etc)
  
  .include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
