aboutsummaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2014-07-29 17:45:00 +0800
committermakc <makc@FreeBSD.org>2014-07-29 17:45:00 +0800
commit8b290e246058d793f2b3d1c8d28de7e36cdf957d (patch)
tree1946ef34d1f6b8a2f403af38215a3794beb524bc /russian
parent251e0fee3108d88ec93cc367c760133f38c6ca05 (diff)
downloadfreebsd-ports-graphics-8b290e246058d793f2b3d1c8d28de7e36cdf957d.tar.gz
freebsd-ports-graphics-8b290e246058d793f2b3d1c8d28de7e36cdf957d.tar.zst
freebsd-ports-graphics-8b290e246058d793f2b3d1c8d28de7e36cdf957d.zip
russian/xcode:
- Add stage support - Respect CC/CFLAGS
Diffstat (limited to 'russian')
-rw-r--r--russian/xcode/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/russian/xcode/Makefile b/russian/xcode/Makefile
index 0c7dcd69243..3eb1d91a174 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>