summaryrefslogtreecommitdiff
path: root/russian/xcode/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-07-29 09:45:00 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-07-29 09:45:00 +0000
commit30390244271306661dc9a28a16425e85a7e6b33f (patch)
tree1946ef34d1f6b8a2f403af38215a3794beb524bc /russian/xcode/Makefile
parentsecurity/gnutls: Support OPTIONal library dependencies (diff)
russian/xcode:
- Add stage support - Respect CC/CFLAGS
Diffstat (limited to 'russian/xcode/Makefile')
-rw-r--r--russian/xcode/Makefile7
1 files 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 <bsd.port.mk>