aboutsummaryrefslogtreecommitdiff
path: root/sysutils/progsreiserfs
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
commitb2a96c6df1c8809216eced623ec37a8372b3216e (patch)
tree0c994bc87e8a2f221a7e2be76b9aafc16eab32bb /sysutils/progsreiserfs
parent87b685f5d4325ba771e96b0ef49c71f903fb3ae0 (diff)
downloadports-b2a96c6df1c8809216eced623ec37a8372b3216e.tar.gz
ports-b2a96c6df1c8809216eced623ec37a8372b3216e.zip
- Remove conditional checks for FreeBSD 5.x and older
Notes
Notes: svn path=/head/; revision=225335
Diffstat (limited to 'sysutils/progsreiserfs')
-rw-r--r--sysutils/progsreiserfs/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index 861af8d85548..149c13c8e21a 100644
--- a/sysutils/progsreiserfs/Makefile
+++ b/sysutils/progsreiserfs/Makefile
@@ -18,6 +18,9 @@ COMMENT= Utilities and library to manipulate ReiserFS partitions
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-debug --disable-Werror
+CFLAGS+= -Dgetopt_long_only=getopt_long
+
+EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
@@ -29,17 +32,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \
resizefs.reiserfs.8 tunefs.reiserfs.8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500041
-CFLAGS+= -Dgetopt_long_only=getopt_long
-EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|^LIBTOOL=.*|LIBTOOL=${LIBTOOL}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|sys/int_types.h|inttypes.h|' \
${WRKSRC}/libreiserfs/tools.c ${WRKSRC}/include/reiserfs/*
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>