diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-26 11:24:27 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-26 11:24:27 +0000 |
commit | d6680288b7ef8fa8676d8e59f3697557590e3d8d (patch) | |
tree | a4de2fcc44dd93d73cc23c223eb62641cec5f1d6 /sysutils/file | |
parent | Resurrect chinese/cce port and update it to 0.51 (diff) |
- Update to 4.09
PR: ports/66584
Submitted by: Jason Harris <jharris@widomaker.com> (maintainer)
Diffstat (limited to 'sysutils/file')
-rw-r--r-- | sysutils/file/Makefile | 13 | ||||
-rw-r--r-- | sysutils/file/distinfo | 9 |
2 files changed, 16 insertions, 6 deletions
diff --git a/sysutils/file/Makefile b/sysutils/file/Makefile index 3527d2543f5e..334e1e23caed 100644 --- a/sysutils/file/Makefile +++ b/sysutils/file/Makefile @@ -6,7 +6,7 @@ # PORTNAME= file -PORTVERSION= 4.07 +PORTVERSION= 4.09 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.astron.com/pub/file/ \ ftp://ftp.gw.com/mirrors/pub/unix/file/ \ @@ -16,6 +16,7 @@ MAINTAINER= jharris@widomaker.com COMMENT= File - determine file type USE_LIBTOOL_VER=13 +USE_REINPLACE= yes CONFIGURE_ARGS= --enable-fsect-man5 MAN1= file.1 MAN3= libmagic.3 @@ -31,4 +32,12 @@ post-extract: ${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/Makefile.in ${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/stamp-h.in -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +# FreeBSD 4.x don't have mbrtowc and wcwidth implemented +.if ${OSVERSION} < 500000 +post-patch: + @${REINPLACE_CMD} -e 's|ifdef HAVE_WCHAR_H|if 0|' ${WRKSRC}/src/file.c +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/file/distinfo b/sysutils/file/distinfo index 343138d5a3ee..9edc590a419a 100644 --- a/sysutils/file/distinfo +++ b/sysutils/file/distinfo @@ -1,4 +1,5 @@ -MD5 (file-4.07.tar.gz) = ecfbf092c2c19119d9386e668f890954 -SHA1 (file-4.07.tar.gz) = 162fecc0f0eace87ea80e8b06494adc58dfe80e7 -RMD160 (file-4.07.tar.gz) = 6e58db6f0831c3b3bb9036d54cadae78dde3b25d -SIZE (file-4.07.tar.gz) = 355647 +MD5 (file-4.09.tar.gz) = 46209022d57dbca7bb3cc07aa63bd008 +SHA1 (file-4.09.tar.gz) = ba960e47ab433b1077d0ba1644c9edf3c81253ec +RMD160 (file-4.09.tar.gz) = ffe3205bfcc9d8f2732dc06d6f1117c6d70ef43c +SHA256 (file-4.09.tar.gz) = 36c57559a3de4ea0b7143aec5ed650268edffc5e08978abdc13f57474d15a4ab +SIZE (file-4.09.tar.gz) = 365226 |