Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 21:14:49 +0100
From:      Lapo Luchini <lapo@lapo.it>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        madpilot@freebsd.org, Lapo Luchini <lapo@lapo.it>
Subject:   ports/186084: [MAINTAINER] devel/commit-patch: support staging
Message-ID:  <201401242020.s0OKK01W058536@freefall.freebsd.org>
Resent-Message-ID: <201401242020.s0OKK01W058536@freefall.freebsd.org>

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

>Number:         186084
>Category:       ports
>Synopsis:       [MAINTAINER] devel/commit-patch: support staging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 24 20:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Lapo Luchini
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lapo.andxor.it 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC
>Description:
Support staging.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- commit-patch-2.5.patch begins here ---
diff -ruN /usr/ports/devel/commit-patch/Makefile ./Makefile
--- /usr/ports/devel/commit-patch/Makefile	2013-09-20 19:03:26.000000000 +0200
+++ ./Makefile	2014-01-24 18:51:15.941568000 +0100
@@ -17,6 +17,7 @@
 USE_GITHUB=	yes
 USES=		gmake perl5
 USE_PERL5=	build # pod2man
+MAKE_ARGS=	BASEDIR="${STAGEDIR}"
 
 GH_ACCOUNT=	caldwell
 GH_PROJECT=	commit-patch
@@ -24,13 +25,14 @@
 GH_COMMIT=	fb3a8c5
 
 PLIST_FILES=	bin/commit-partial bin/commit-patch \
-		share/emacs/site-lisp/commit-patch-buffer.el
-MAN1=		commit-partial.1 commit-patch.1
+		share/emacs/site-lisp/commit-patch-buffer.el \
+		man/man1/commit-partial.1.gz man/man1/commit-patch.1.gz
 PORTDOCS=	*
 
-NO_STAGE=	yes
 post-patch:
 		${REINPLACE_CMD} -e 's/share[/]man/man/' \
-			-e 's/PREFIX=/PREFIX?=/' ${WRKSRC}/Makefile
+			-e 's/PREFIX=/PREFIX?=/' \
+			-e 's/$$(PREFIX)/$$(BASEDIR)$$(PREFIX)/' \
+			${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
--- commit-patch-2.5.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?201401242020.s0OKK01W058536>