svn commit: r367547 - head/devel/plan9port

Alexey Dokuchaev danfe at FreeBSD.org
Sun Sep 7 14:15:06 UTC 2014


Author: danfe
Date: Sun Sep  7 14:15:05 2014
New Revision: 367547
URL: http://svnweb.freebsd.org/changeset/ports/367547
QAT: https://qat.redports.org/buildarchive/r367547/

Log:
  Stagify the port properly: previously, binaries would embed ${STAGEDIR}
  references in them.

Modified:
  head/devel/plan9port/Makefile

Modified: head/devel/plan9port/Makefile
==============================================================================
--- head/devel/plan9port/Makefile	Sun Sep  7 13:46:40 2014	(r367546)
+++ head/devel/plan9port/Makefile	Sun Sep  7 14:15:05 2014	(r367547)
@@ -3,6 +3,7 @@
 
 PORTNAME=	plan9port
 PORTVERSION=	20140306
+PORTREVISION=	1
 CATEGORIES=	devel plan9
 MASTER_SITES=	http://swtch.com/${PORTNAME}/
 
@@ -43,6 +44,7 @@ post-patch:
 		> ${WRKSRC}/src/cmd/9term/${OPSYS}.c
 	@${REINPLACE_CMD} -e 's|, swizz(void)|&, swizz8(void)|' \
 		${WRKSRC}/src/cmd/xd.c
+	@${REINPLACE_CMD} -e '/^cd $$PLAN9/d' ${WRKSRC}/lib/moveplan9.sh
 
 do-build:
 	cd ${WRKSRC} && CC9="${CC}" ./INSTALL
@@ -63,7 +65,7 @@ do-install:
 	${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX}
 
 post-install:
-	cd ${STAGEDIR}${PLAN9} && ${SETENV} PLAN9=${STAGEDIR}${PLAN9} \
+	cd ${STAGEDIR}${PLAN9} && ${SETENV} PLAN9=${PLAN9} \
 		PATH=${PATH}:${STAGEDIR}${PLAN9}/bin \
 			${SH} lib/moveplan9.sh ${WRKSRC}
 	${CHMOD} 01777 ${STAGEDIR}${PLAN9}/news


More information about the svn-ports-head mailing list