aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2007-06-17 06:38:41 +0800
committerrodrigc <rodrigc@FreeBSD.org>2007-06-17 06:38:41 +0800
commit5923cfebd078c4dfbc24b804aa542da9d642cfd9 (patch)
treef8a445a55189b62e209b25534eceb8a1645635bb /sysutils
parent285b08f94253777ad257fdbbdbc0fa19ab896f3a (diff)
downloadfreebsd-ports-gnome-5923cfebd078c4dfbc24b804aa542da9d642cfd9.tar.gz
freebsd-ports-gnome-5923cfebd078c4dfbc24b804aa542da9d642cfd9.tar.zst
freebsd-ports-gnome-5923cfebd078c4dfbc24b804aa542da9d642cfd9.zip
Bump up to xfsprots 2.8.21. xfs_repair for some reason now depends
on some POSIX rt functions in librt, which only exists on FreeBSD 7, so disable port build on earlier FreeBSD versions.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xfsprogs/Makefile9
-rw-r--r--sysutils/xfsprogs/distinfo6
2 files changed, 8 insertions, 7 deletions
diff --git a/sysutils/xfsprogs/Makefile b/sysutils/xfsprogs/Makefile
index 7c24b8fb3b26..f515e52fae2d 100644
--- a/sysutils/xfsprogs/Makefile
+++ b/sysutils/xfsprogs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xfsprogs
-PORTVERSION= 2.8.10
+PORTVERSION= 2.8.21
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://oss.sgi.com/projects/xfs/cmd_tars/
@@ -35,12 +35,11 @@ MAN8= fsck.xfs.8 mkfs.xfs.8 xfs_admin.8 xfs_bmap.8 xfs_check.8 \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD 4.x"
+.if ${OSVERSION} < 700000
+BROKEN= "Does not compile on less than FreeBSD 7.x"
.endif
post-extract:
- echo "Blah"
${LN} -sf ${WRKDIR}/${PORTNAME}-${PORTVERSION} ${WRKSRC}
pre-configure:
@@ -49,6 +48,8 @@ pre-configure:
post-configure:
${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'
+ ${FIND} ${WRKSRC}/include -name "builddefs" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|LIBRT =|LIBRT = -lrt|g'
post-patch:
${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \
diff --git a/sysutils/xfsprogs/distinfo b/sysutils/xfsprogs/distinfo
index 990e8388f295..0462ceff0eca 100644
--- a/sysutils/xfsprogs/distinfo
+++ b/sysutils/xfsprogs/distinfo
@@ -1,3 +1,3 @@
-MD5 (xfsprogs_2.8.10-1.tar.gz) = b8b0996b48e93020242dec2f5df80223
-SHA256 (xfsprogs_2.8.10-1.tar.gz) = f2cfe23ae337aa3d51fd74ceb51b51947cebf8e608783ecc7e42eda547277709
-SIZE (xfsprogs_2.8.10-1.tar.gz) = 922425
+MD5 (xfsprogs_2.8.21-1.tar.gz) = a40b7d656c9ddb775c3f221433cbf08a
+SHA256 (xfsprogs_2.8.21-1.tar.gz) = d0450b00ad9e321484802f83f913fd04ec608d80146d07861ee8019b00ebdf58
+SIZE (xfsprogs_2.8.21-1.tar.gz) = 978987