svn commit: r366032 - head/deskutils/preferences
Antoine Brodin
antoine at FreeBSD.org
Mon Aug 25 06:00:45 UTC 2014
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>
More information about the svn-ports-all
mailing list