svn commit: r363302 - head/russian/xcode

Max Brazhnikov makc at FreeBSD.org
Tue Jul 29 09:45:00 UTC 2014


Author: makc
Date: Tue Jul 29 09:45:00 2014
New Revision: 363302
URL: http://svnweb.freebsd.org/changeset/ports/363302
QAT: https://qat.redports.org/buildarchive/r363302/

Log:
  russian/xcode:
  - Add stage support
  - Respect CC/CFLAGS

Modified:
  head/russian/xcode/Makefile

Modified: head/russian/xcode/Makefile
==============================================================================
--- head/russian/xcode/Makefile	Tue Jul 29 09:14:01 2014	(r363301)
+++ head/russian/xcode/Makefile	Tue Jul 29 09:45:00 2014	(r363302)
@@ -16,10 +16,11 @@ PLIST_FILES=	bin/xcode
 NO_WRKSUBDIR=	yes
 MAKEFILE=	makefile
 ALL_TARGET=	xcode
-CFLAGS+=	-DD_KOI
 
-NO_STAGE=	yes
+post-patch:
+	${REINPLACE_CMD} -e 's,gcc -g,${CC} ${CFLAGS},' ${WRKSRC}/makefile
+
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/xcode ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/xcode ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list