Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 09:45:00 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363302 - head/russian/xcode
Message-ID:  <201407290945.s6T9j0cv072675@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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