diff options
author | pav <pav@FreeBSD.org> | 2009-01-07 01:59:31 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-01-07 01:59:31 +0800 |
commit | 8ef21a396d8627cdfced24744c2bacb7cb0c9453 (patch) | |
tree | 06fbb407306ac7e1b7b00946df69737e787c8891 /sysutils/progsreiserfs | |
parent | e32973556a174646ad93cdf1b43963a9fc18eb55 (diff) | |
download | freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.gz freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.zst freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.zip |
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'sysutils/progsreiserfs')
-rw-r--r-- | sysutils/progsreiserfs/Makefile | 12 |
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> |