diff options
author | pav <pav@FreeBSD.org> | 2004-05-26 19:24:27 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-26 19:24:27 +0800 |
commit | 327faca0cd66b084f20a94257c5f8f5f2ae1c472 (patch) | |
tree | c73145a6d4218bebd3dae6d9907ebc607d10121e /sysutils/file/Makefile | |
parent | d59bbb2558f2e4c0b3c105858e475fae73d80c51 (diff) | |
download | freebsd-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/Makefile')
-rw-r--r-- | sysutils/file/Makefile | 13 |
1 files changed, 11 insertions, 2 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> |