Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 06:00:45 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366032 - head/deskutils/preferences
Message-ID:  <201408250600.s7P60jQi081053@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Aug 25 06:00:44 2014
New Revision: 366032
URL: http://svnweb.freebsd.org/changeset/ports/366032
QAT: https://qat.redports.org/buildarchive/r366032/

Log:
  Allow staging as a regular user

Modified:
  head/deskutils/preferences/Makefile

Modified: head/deskutils/preferences/Makefile
==============================================================================
--- head/deskutils/preferences/Makefile	Mon Aug 25 03:09:14 2014	(r366031)
+++ head/deskutils/preferences/Makefile	Mon Aug 25 06:00:44 2014	(r366032)
@@ -13,7 +13,7 @@ COMMENT=	GNUstep workspace manager
 LICENSE_COMB=	multi
 LICENSE=	GPLv2 LGPL21
 
-USES=	tar:bzip2
+USES=		tar:bzip2
 USE_GNUSTEP=	yes
 USE_GNUSTEP_BACK=	yes
 USE_GNUSTEP_BUILD=	yes
@@ -27,9 +27,8 @@ MODIFY=		GNUmakefile.preamble PrefsModul
 		Modules/PrefsApp/GNUmakefile.preamble
 
 post-patch:
-.for i in ${MODIFY}
-	@${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
-	${SED} -e "s= -Werror==" ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
-.endfor
+	${REINPLACE_CMD} 's, -Werror,,' ${MODIFY:S,^,${WRKSRC}/,}
+	${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
+		${WRKSRC}/GNUmakefile.preamble
 
 .include <bsd.port.mk>



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