From 30390244271306661dc9a28a16425e85a7e6b33f Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Tue, 29 Jul 2014 09:45:00 +0000 Subject: [PATCH] russian/xcode: - Add stage support - Respect CC/CFLAGS --- russian/xcode/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/russian/xcode/Makefile b/russian/xcode/Makefile index 0c7dcd692437..3eb1d91a1742 100644 --- a/russian/xcode/Makefile +++ b/russian/xcode/Makefile @@ -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