From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 3 03:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A2CED70E for ; Mon, 3 Jun 2013 03:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 81E14136A for ; Mon, 3 Jun 2013 03:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r533A0E5018166 for ; Mon, 3 Jun 2013 03:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r533A0Zi018165; Mon, 3 Jun 2013 03:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 3 Jun 2013 03:10:00 GMT Resent-Message-Id: <201306030310.r533A0Zi018165@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nemysis Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 67FE26D3 for ; Mon, 3 Jun 2013 03:07:03 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1564D1343 for ; Mon, 3 Jun 2013 03:07:02 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MQ9JV-1UoaIf04nb-005G3e for ; Mon, 03 Jun 2013 05:07:02 +0200 Received: (qmail invoked by alias); 03 Jun 2013 03:07:00 -0000 Received: from 5-80.77-83.cust.bluewin.ch (EHLO something.email.com) [83.77.80.5] by mail.gmx.net (mp032) with SMTP; 03 Jun 2013 05:07:00 +0200 Received: by something.email.com (sSMTP sendmail emulation); Mon, 03 Jun 2013 05:07:00 +0200 Message-Id: <20130603030703.67FE26D3@hub.freebsd.org> Date: Mon, 03 Jun 2013 05:07:00 +0200 From: nemysis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/179244: [PATCH] devel/dparser: Fix docs, cleanup Makefile Cc: gahr@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 03:10:00 -0000 >Number: 179244 >Category: ports >Synopsis: [PATCH] devel/dparser: Fix docs, cleanup Makefile >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: Mon Jun 03 03:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - Remove DOCS Option - Fix docs - Cleanup Makefile - Trim files/patch-Makefile Port maintainer (gahr@FreeBSD.org) is cc'd. Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: Build log https://redports.org/buildarchive/20130603022801-13245/ >Fix: --- dparser-1.30.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/dparser/Makefile ./Makefile --- /usr/ports/devel/dparser/Makefile 2013-06-02 18:59:46.000000000 +0200 +++ ./Makefile 2013-06-03 04:26:22.000000000 +0200 @@ -10,7 +10,7 @@ MAINTAINER= gahr@FreeBSD.org COMMENT= Simple but powerful tool for parsing -OPTIONS_DEFINE= BOEHM DOCS +OPTIONS_DEFINE= BOEHM BOEHM_DESC= Boehm garbage collector support WRKSRC= ${WRKDIR}/d @@ -26,6 +26,9 @@ .include +post-patch: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Makefile + .if ${PORT_OPTIONS:MBOEHM} LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc MAKE_ARGS+= D_USE_GC=1 \ @@ -41,12 +44,12 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/make_dparser ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/make_dparser.1 ${MANPREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/dparse.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/dparse_tables.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/dparse_tree.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/dsymtab.h ${PREFIX}/include + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 +.for f in dparse.h dparse_tables.h dparse_tree.h dsymtab.h + (cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${PREFIX}/include) +.endfor ${INSTALL_DATA} ${WRKSRC}/${LIBDPARSE} ${PREFIX}/lib + .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR} diff -ruN --exclude=CVS /usr/ports/devel/dparser/files/patch-Makefile ./files/patch-Makefile --- /usr/ports/devel/dparser/files/patch-Makefile 2013-06-02 18:59:46.000000000 +0200 +++ ./files/patch-Makefile 2013-04-04 02:03:12.000000000 +0200 @@ -1,6 +1,6 @@ ---- Makefile.orig 2013-04-02 10:00:17.000000000 +0200 -+++ Makefile 2013-04-02 10:01:34.000000000 +0200 -@@ -11,7 +11,7 @@ +--- Makefile.orig 2013-03-02 22:22:20.000000000 +0100 ++++ Makefile 2013-04-04 01:59:35.000000000 +0200 +@@ -11,10 +11,10 @@ MINOR=30 RELEASE=$(MAJOR).$(MINOR) @@ -8,7 +8,11 @@ +CC ?= gcc ifndef PREFIX - PREFIX=/usr/local +-PREFIX=/usr/local ++PREFIX=%%PREFIX%% + endif + + .PHONY: all gram test install myexample @@ -38,7 +38,7 @@ ARCH = x86 endif @@ -41,12 +45,3 @@ d/grammar.g d/sample.g d/my.g LIB_SRCS = arg.c parse.c scan.c symtab.c util.c read_binary.c dparse_tree.c -@@ -141,7 +141,7 @@ - - ALL_SRCS = $(MAKE_PARSER_SRCS) $(BASE_SAMPLE_PARSER_SRCS) $(LIB_SRCS) $(MK_LIB_SRCS) - --all: $(EXECS) $(LIBRARIES) D_BUILD_VERSION make_dparser.cat -+all: $(EXECS) $(LIBRARIES) make_dparser.cat - - version: - echo $(OS_TYPE) $(OS_VERSION) diff -ruN --exclude=CVS /usr/ports/devel/dparser/files/patch-arg.c ./files/patch-arg.c --- /usr/ports/devel/dparser/files/patch-arg.c 2013-06-02 18:59:46.000000000 +0200 +++ ./files/patch-arg.c 2013-04-04 02:03:41.000000000 +0200 @@ -1,5 +1,5 @@ ---- arg.c.orig Fri Nov 7 03:03:52 2003 -+++ arg.c Mon Feb 2 18:35:43 2004 +--- arg.c.orig 2013-01-23 03:14:58.000000000 +0100 ++++ arg.c 2013-04-04 02:02:01.000000000 +0200 @@ -40,7 +40,7 @@ *(double *)desc[i].location = atof(arg); break; --- dparser-1.30.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: