summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-22 11:09:08 +0000
committerpav <pav@FreeBSD.org>2004-05-22 11:09:08 +0000
commit3dad71c82e27efd1fcf575eaec67182828f28a71 (patch)
treec36a0cb18bfb8b499012824ddc8b97995d23942f /sysutils
parent77508f6883b7395bfe8e679c6a17f38cc39afa07 (diff)
downloadFreeBSD-ports-3dad71c82e27efd1fcf575eaec67182828f28a71.zip
FreeBSD-ports-3dad71c82e27efd1fcf575eaec67182828f28a71.tar.gz
- Attempt to fix build on sparc64
Submitted by: Florent Thoumie <flz@xbsd.org> (maintainer) Reported by: bento via kris
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/progsreiserfs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index 911c9e1..04b97f0 100644
--- a/sysutils/progsreiserfs/Makefile
+++ b/sysutils/progsreiserfs/Makefile
@@ -20,10 +20,15 @@ GNU_CONFIGURE= yes
USE_GETTEXT= 1
USE_LIBTOOL_VER= 15
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lgnugetopt"
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \
resizefs.reiserfs.8 tunefs.reiserfs.8
+post-patch:
+ ${REINPLACE_CMD} -e 's|sys/int_types.h|inttypes.h|' ${WRKSRC}/libreiserfs/tools.c
+ ${REINPLACE_CMD} -e 's|sys/int_types.h|inttypes.h|' ${WRKSRC}/include/reiserfs/*
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud