summaryrefslogtreecommitdiff
path: root/japanese/iv/Makefile
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2003-07-09 21:53:42 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2003-07-09 21:53:42 +0000
commitc326feac8df5b40fb20da023a2d151ed9555cb39 (patch)
treeb6fa4dc1047b363b8d7f501ef1f644f50ef4a021 /japanese/iv/Makefile
parentAdd checksum for bounds-checking-gcc-3.3-1.00.patch.bz2 lost by revision 1.69. (diff)
Modified to build on 5-current(use gcc 2.95)
Submitted by: bento
Notes
Notes: svn path=/head/; revision=84547
Diffstat (limited to 'japanese/iv/Makefile')
-rw-r--r--japanese/iv/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/japanese/iv/Makefile b/japanese/iv/Makefile
index f3ed4aa4764e..ce0ba2b90182 100644
--- a/japanese/iv/Makefile
+++ b/japanese/iv/Makefile
@@ -24,6 +24,7 @@ COMMENT= A toolkit from Stanford University and Silicon Graphics + Japanese patc
# Warning: we cannot use USE_IMAKE.
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
+USE_GCC= 2.95
USE_XLIB= yes
DIST_SUBDIR= iv
WRKSRC= ${WRKDIR}/iv
@@ -78,10 +79,14 @@ IV_LIB_VER= 3.1
pre-patch:
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/diff-2.0gamma
-.if ${OSVERSION} >= 400002
post-patch:
@(cd ${WRKSRC}/src/config/InterViews; ${MV} -f iv-freebsd.cf \
- iv-freebsd.cf~; ${SED} -e 's/\-lg\+\+//' iv-freebsd.cf~ > iv-freebsd.cf)
+ iv-freebsd.cf~; ${SED} -e 's/%%CXX%%/${CXX}/' iv-freebsd.cf~ \
+ > iv-freebsd.cf)
+.if ${OSVERSION} >= 400002
+ @(cd ${WRKSRC}/src/config/InterViews; ${MV} -f iv-freebsd.cf \
+ iv-freebsd.cf~; ${SED} -e 's/\-lg\+\+//' iv-freebsd.cf~ \
+ > iv-freebsd.cf)
.endif
post-install: