summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2004-05-16 17:42:04 +0000
committerJohn Polstra <jdp@FreeBSD.org>2004-05-16 17:42:04 +0000
commit790036b94043f53108007a2b45dd850f2a388932 (patch)
tree52c887026613f2d5ac05ca02ea94ed0244b8a433 /lang
parent- Remove dead MASTER_SITES (diff)
Fix the ezm3 port to deal with 64-bit time_t on the sparc64 platform.
Two patches were submitted for this. I opted to use the simpler one due to the issues described in the PR follow-up. Bump PORTREVISION. PR: ports/66159 Submitted by: marius
Notes
Notes: svn path=/head/; revision=109276
Diffstat (limited to 'lang')
-rw-r--r--lang/ezm3/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile
index 5554c4010368..c8e050008494 100644
--- a/lang/ezm3/Makefile
+++ b/lang/ezm3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ezm3
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
MASTER_SITE_SUBDIR=development/CVSup/ezm3
@@ -26,6 +26,7 @@ PLIST_SUB+= ARCH=${ARCH} TARGET=${TARGET} WORDSIZE=${WORDSIZE} \
SCRIPTS_ENV+= TARGET=${TARGET}
USE_BZIP2= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
PROGS= bin/m3build \
bin/m3bundle \
@@ -57,6 +58,12 @@ ENDIANESS= be
BOOTSTRAP= ezm3-${PORTVERSION}-${TARGET}-boot.tar.bz2
.endif
+post-patch:
+.if ${ARCH} == "sparc64" && ${OSVERSION} >= 502107
+ @${REINPLACE_CMD} -E -e 's|(^.*time_t.*=.*)int32_t;|\1int64_t;|' \
+ ${WRKSRC}/libs/m3core/src/unix/freebsd-4.sparc64/Utypes.i3
+.endif
+
do-build:
@${ECHO_MSG} "This port does everything in the install step."
@${ECHO_MSG} "The build step is a no-op."