aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/file
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-26 19:24:27 +0800
committerpav <pav@FreeBSD.org>2004-05-26 19:24:27 +0800
commit327faca0cd66b084f20a94257c5f8f5f2ae1c472 (patch)
treec73145a6d4218bebd3dae6d9907ebc607d10121e /sysutils/file
parentd59bbb2558f2e4c0b3c105858e475fae73d80c51 (diff)
downloadfreebsd-ports-gnome-327faca0cd66b084f20a94257c5f8f5f2ae1c472.tar.gz
freebsd-ports-gnome-327faca0cd66b084f20a94257c5f8f5f2ae1c472.tar.zst
freebsd-ports-gnome-327faca0cd66b084f20a94257c5f8f5f2ae1c472.zip
- 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/Makefile13
-rw-r--r--sysutils/file/distinfo9
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