aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm5
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-11-30 22:43:45 +0800
committerpav <pav@FreeBSD.org>2010-11-30 22:43:45 +0800
commit7958217adbd39b5fcb89a0e92c2b9cd9e280b84c (patch)
treeb4fa3c2bc2fd5c97e3aed75eb50fe8772e424a96 /archivers/rpm5
parent1b99ba38e43b42a182b708d644656f83f4ebb2d0 (diff)
downloadfreebsd-ports-gnome-7958217adbd39b5fcb89a0e92c2b9cd9e280b84c.tar.gz
freebsd-ports-gnome-7958217adbd39b5fcb89a0e92c2b9cd9e280b84c.tar.zst
freebsd-ports-gnome-7958217adbd39b5fcb89a0e92c2b9cd9e280b84c.zip
- Unbreak Makefile on 6.X
Reported by: portsnap
Diffstat (limited to 'archivers/rpm5')
-rw-r--r--archivers/rpm5/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/archivers/rpm5/Makefile b/archivers/rpm5/Makefile
index 6898440fa509..d6d386e54324 100644
--- a/archivers/rpm5/Makefile
+++ b/archivers/rpm5/Makefile
@@ -143,10 +143,8 @@ post-configure:
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
.endif
@echo "DOT_FONTPATH = ${LOCALBASE}/lib/X11/fonts/freefont-ttf" >> ${WRKSRC}/Doxyfile
-
.if ${OSVERSION} < 700000
# on FreeBSD 6.x, <sys/mount.h> first requires <sys/param.h> (for NGROUPS)
-post-configure::
@${REINPLACE_CMD} -e "s:/\* #undef HAVE_SYS_MOUNT_H \*/:#define HAVE_SYS_MOUNT_H 1:" \
${WRKSRC}/config.h
.endif