Date: Mon, 7 Apr 2014 18:32:28 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188353: [patch] Added staging support to databases/redis-devel Message-ID: <201404071832.s37IWSaf094653@cgiserv.freebsd.org> Resent-Message-ID: <201404071840.s37Ie07d013812@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188353 >Category: ports >Synopsis: [patch] Added staging support to databases/redis-devel >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 Apr 07 18:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Joseph Benden >Release: FreeBSD 11 >Organization: >Environment: FreeBSD freebsd-11 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r263915: Sat Mar 29 16:29:15 MST 2014 root@freebsd-11:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Added staging support to port. Fixed build in Poudriere. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 350531) +++ Makefile (working copy) @@ -26,7 +26,6 @@ FETCH_ARGS= -Fpr WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MLUA} @@ -90,15 +89,10 @@ ${WRKSRC}/redis.conf > ${WRKDIR}/redis.conf do-install: - ${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKDIR}/redis.conf ${PREFIX}/etc/redis.conf.sample - ${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${PREFIX}/etc/sentinel.conf.sample + ${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKDIR}/redis.conf ${STAGEDIR}${PREFIX}/etc/redis.conf.sample + ${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample -post-install: -.for d in ${REDIS_LOGDIR} ${REDIS_RUNDIR} ${REDIS_DBDIR} - [ -d ${d} ] || ${MKDIR} ${d} && ${CHOWN} ${USERS}:${GROUPS} ${d} -.endfor - regression-test: build @cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404071832.s37IWSaf094653>