From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 18 16:20:07 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 747D916A4CE for ; Wed, 18 May 2005 16:20:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 450CF43D64 for ; Wed, 18 May 2005 16:20:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4IGK49w024935 for ; Wed, 18 May 2005 16:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4IGK4Ci024934; Wed, 18 May 2005 16:20:04 GMT (envelope-from gnats) Date: Wed, 18 May 2005 16:20:04 GMT Message-Id: <200505181620.j4IGK4Ci024934@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Erik Greenwald Subject: Re: ports/80917: Update: devel/picprog 1.4 -> 1.7 + adoption X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Erik Greenwald List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 16:20:07 -0000 The following reply was made to PR ports/80917; it has been noted by GNATS. From: Erik Greenwald To: Kirill Ponomarew Cc: freebsd-ports-bugs@FreeBSD.org, bug-followup@freebsd.org, erik@smluc.org Subject: Re: ports/80917: Update: devel/picprog 1.4 -> 1.7 + adoption Date: Wed, 18 May 2005 11:13:20 -0500 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 12, 2005 at 01:44:00AM +0000, Kirill Ponomarew wrote: > Synopsis: Update: devel/picprog 1.4 -> 1.7 + adoption > http://www.freebsd.org/cgi/query-pr.cgi?pr=80917 the issue was with CPPFLAGS and LDFLAGS not being honored, so the getopt_long fu for 4 was being ignored... required a MAKE_ENV clause in the port makefile and a .cc.o target in the softwares makefile.. Attached is a replacement patch (throw the other patch away). If it's easier to fetch it, it's also at http://smluc.org/~erik/devel-picprog.2.patch Thanks -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated. --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="devel-picprog.2.patch" ? devel/picprog/files/patch-picport.cc Index: devel/picprog/Makefile =================================================================== RCS file: /home/ncvs/ports/devel/picprog/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- devel/picprog/Makefile 12 Jan 2004 23:38:04 -0000 1.11 +++ devel/picprog/Makefile 18 May 2005 16:02:23 -0000 @@ -6,26 +6,17 @@ # PORTNAME= picprog -PORTVERSION= 1.4 +PORTVERSION= 1.7 CATEGORIES= devel MASTER_SITES= http://hyvatti.iki.fi/~jaakko/pic/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= erik@smluc.org COMMENT= Serial port pic16c84 programmer USE_GETOPT_LONG= yes MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -MAN1= picprog.1 -DOCS= README picprog.html *.jpg *.png - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/picprog ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/picprog.1 ${MANPREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif +MAN1= picprog.1 .include Index: devel/picprog/distinfo =================================================================== RCS file: /home/ncvs/ports/devel/picprog/distinfo,v retrieving revision 1.5 diff -u -r1.5 distinfo --- devel/picprog/distinfo 29 Jan 2004 07:23:22 -0000 1.5 +++ devel/picprog/distinfo 18 May 2005 16:02:23 -0000 @@ -1,2 +1,2 @@ -MD5 (picprog-1.4.tar.gz) = 98d8fb42f92b57ea2114033a3f207706 -SIZE (picprog-1.4.tar.gz) = 53394 +MD5 (picprog-1.7.tar.gz) = 342f65a9cc71a0507fe8083181e2681c +SIZE (picprog-1.7.tar.gz) = 55118 Index: devel/picprog/pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/picprog/pkg-plist,v retrieving revision 1.4 diff -u -r1.4 pkg-plist --- devel/picprog/pkg-plist 12 Jan 2004 23:38:04 -0000 1.4 +++ devel/picprog/pkg-plist 18 May 2005 16:02:23 -0000 @@ -1,8 +1 @@ bin/picprog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/adapter.jpg -%%PORTDOCS%%%%DOCSDIR%%/anybrowser3.png -%%PORTDOCS%%%%DOCSDIR%%/jdm84ne1.png -%%PORTDOCS%%%%DOCSDIR%%/jdm84pcb4.png -%%PORTDOCS%%%%DOCSDIR%%/picprog.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% Index: devel/picprog/files/patch-Makefile =================================================================== RCS file: /home/ncvs/ports/devel/picprog/files/patch-Makefile,v retrieving revision 1.3 diff -u -r1.3 patch-Makefile --- devel/picprog/files/patch-Makefile 12 Jan 2004 23:38:05 -0000 1.3 +++ devel/picprog/files/patch-Makefile 18 May 2005 16:02:23 -0000 @@ -1,33 +1,35 @@ ---- Makefile.orig Mon Jan 12 22:42:23 2004 -+++ Makefile Mon Jan 12 22:44:01 2004 -@@ -26,10 +26,6 @@ +--- Makefile.orig Thu Apr 29 04:08:22 2004 ++++ Makefile Mon May 16 18:40:27 2005 +@@ -26,9 +26,9 @@ # Please use a reasonably recent GNU make. -CXX=g++ --CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes --LDFLAGS=-g -- +-CXXFLAGS=-O2 -Wall -W -Wwrite-strings -Wmissing-prototypes +-LDFLAGS=-s ++#CXX=g++ ++#CXXFLAGS=-O2 -Wall -W -Wwrite-strings -Wmissing-prototypes ++#LDFLAGS=-s + OBJS=main.o picport.o hexfile.o program.o PROG=picprog - -@@ -37,6 +33,8 @@ - +@@ -38,6 +38,9 @@ $(PROG): $(OBJS) $(CXX) $(LDFLAGS) $(OBJS) -o $@ + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $> - ++ dep: $(CXX) -M $(CXXFLAGS) *.cc > .depend -@@ -55,10 +53,3 @@ - install: all - install -c -o 0 -g 0 -m 755 $(PROG) /usr/local/bin/ - install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/ -- --# --# include a dependency file if one exists --# + +@@ -59,6 +62,6 @@ + # + # include a dependency file if one exists + # -ifeq (.depend,$(wildcard .depend)) -include .depend -endif ++#ifeq (.depend,$(wildcard .depend)) ++#include .depend ++#endif --huq684BweRXVnRxX--