Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2014 21:04:29 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189925: [patch] Add staging support to www/apache-mode.el
Message-ID:  <201405182104.s4IL4T9f020246@cgiserv.freebsd.org>
Resent-Message-ID: <201405182110.s4ILA0lw013305@freefall.freebsd.org>

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

>Number:         189925
>Category:       ports
>Synopsis:       [patch] Add staging support to www/apache-mode.el
>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:   Sun May 18 21:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014     root@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/apache-mode.el.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/apache-mode.el/Makefile b/www/apache-mode.el/Makefile
index f3eb46a..597141b 100644
--- a/www/apache-mode.el/Makefile
+++ b/www/apache-mode.el/Makefile
@@ -19,12 +19,11 @@ NO_BUILD=	yes
 EMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
 XEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${EMACSLISPDIR}
-	${MKDIR} ${XEMACSLISPDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/${PORTNAME}
-	${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}/${PORTNAME}
+	${MKDIR} ${STAGEDIR}${EMACSLISPDIR}
+	${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
+	${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${EMACSLISPDIR}/${PORTNAME}
+	${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${STAGEDIR}${XEMACSLISPDIR}/${PORTNAME}
 
 post-install:
 	@${CAT} ${PKGMESSAGE}


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



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