aboutsummaryrefslogtreecommitdiff
path: root/sysutils/progsreiserfs/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-22 11:09:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-22 11:09:08 +0000
commiteea7c523ef6ddcc32d2b4f54d1822fe2203ee6bf (patch)
treeb9e73bd399825e4105bf7cfa295bf33353f9955c /sysutils/progsreiserfs/Makefile
parent45975d523f7300dcb4e7199b2df3da190c88b3a3 (diff)
Notes
Diffstat (limited to 'sysutils/progsreiserfs/Makefile')
-rw-r--r--sysutils/progsreiserfs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index 911c9e11bd7b..04b97f09b2e6 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>