Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 00:53:34 +0200 (CEST)
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66844: [PATCH] devel/pccts: avoid "installation successful" in the build target
Message-ID:  <20040518225334.34D0E2FDA01@isis.wad.cz>
Resent-Message-ID: <200405190000.i4J00gc2036534@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66844
>Category:       ports
>Synopsis:       [PATCH] devel/pccts: avoid "installation successful" in the build target
>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:   Tue May 18 17:00:42 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD isis.wad.cz 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #3: Sun Mar 7 02:11:16 CET 2004 root@isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386


	
>Description:
    original target prints out "PCCTS 1.33MR33 installation complete",
    and other installation-related messages. this patch avoids this
    by providing do-build target. thanks to inconsistency in software's
    makefiles, genmk is installed from a different place now.

>How-To-Repeat:
	
>Fix:

	

--- devel::pccts.do-build.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/pccts/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	29 Jan 2004 12:50:38 -0000	1.25
+++ Makefile	18 May 2004 22:42:36 -0000
@@ -30,10 +30,15 @@
 	@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|<varargs.h>|<stdarg.h>|g'
 
+do-build:
+.for dir in antlr dlg sorcerer support/genmk
+	@(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+.endfor
+
 do-install:
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/antlr ${PREFIX}/bin
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/dlg ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/genmk ${PREFIX}/bin
+	@ ${INSTALL_PROGRAM} ${WRKSRC}/support/genmk/genmk ${PREFIX}/bin
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/sor ${PREFIX}/bin
 	@ ${INSTALL_MAN} ${WRKSRC}/antlr/antlr.1 ${PREFIX}/man/man1
 	@ ${INSTALL_MAN} ${WRKSRC}/dlg/dlg.1 ${PREFIX}/man/man1
--- devel::pccts.do-build.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040518225334.34D0E2FDA01>