aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2013-01-05 06:32:41 +0800
committerbf <bf@FreeBSD.org>2013-01-05 06:32:41 +0800
commite30a576af449a4725ca4b5901a2031351098a1eb (patch)
tree38aed12e7bb4f0c707bd345283ed317e2fc18681
parentaf3d3bdace811503a932582f91d2400a37fc4568 (diff)
downloadfreebsd-ports-gnome-e30a576af449a4725ca4b5901a2031351098a1eb.tar.gz
freebsd-ports-gnome-e30a576af449a4725ca4b5901a2031351098a1eb.tar.zst
freebsd-ports-gnome-e30a576af449a4725ca4b5901a2031351098a1eb.zip
update to 5.12
-rw-r--r--sysutils/file/Makefile19
-rw-r--r--sysutils/file/distinfo4
2 files changed, 14 insertions, 9 deletions
diff --git a/sysutils/file/Makefile b/sysutils/file/Makefile
index ff34c7c52824..a1edc3de57aa 100644
--- a/sysutils/file/Makefile
+++ b/sysutils/file/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: file
-# Date created: 2001-11-10
-# Whom: Jason Harris <jharris@widomaker.com>
-#
+# Created by: Jason Harris <jharris@widomaker.com>
# $FreeBSD$
-#
PORTNAME= file
-PORTVERSION= 5.11
+PORTVERSION= 5.12
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
ftp://ftp.fu-berlin.de/unix/tools/file/
@@ -14,6 +10,8 @@ MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
MAINTAINER= bf@FreeBSD.org
COMMENT= Utility to determine file type
+LICENSE= BSD
+
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
@@ -25,10 +23,17 @@ MAN1= file.1
MAN3= libmagic.3
MAN5= magic.5
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800000
+CONFIGURE_ENV+= gl_cv_cc_visibility=no
+.endif
+
check regression-test test: build
@( cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check ; )
post-patch:
@${REINPLACE_CMD} -e 's|$(datadir)/misc|$(datadir)/${PORTNAME}|g' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/file/distinfo b/sysutils/file/distinfo
index 3f129ad31a72..5deeefbe4524 100644
--- a/sysutils/file/distinfo
+++ b/sysutils/file/distinfo
@@ -1,2 +1,2 @@
-SHA256 (file-5.11.tar.gz) = c70ae29a28c0585f541d5916fc3248c3e91baa481f63d7ccec53d1534cbcc9b7
-SIZE (file-5.11.tar.gz) = 610019
+SHA256 (file-5.12.tar.gz) = 199d0dab2e32814cbced8dc30d3d2d5b7e45587598160a2c401358b573273d22
+SIZE (file-5.12.tar.gz) = 632808