diff options
author | edwin <edwin@FreeBSD.org> | 2007-10-04 14:10:15 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-10-04 14:10:15 +0800 |
commit | 08fd42a6ba4cfc15ec8814217e373f4372da0992 (patch) | |
tree | 2bfa1b92e0b7e94dd901a1f482e54b22aec5571d /sysutils/tmpwatch | |
parent | 50ef8aeab64606f46790199997daf350fce5ea76 (diff) | |
download | freebsd-ports-gnome-08fd42a6ba4cfc15ec8814217e373f4372da0992.tar.gz freebsd-ports-gnome-08fd42a6ba4cfc15ec8814217e373f4372da0992.tar.zst freebsd-ports-gnome-08fd42a6ba4cfc15ec8814217e373f4372da0992.zip |
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'sysutils/tmpwatch')
-rw-r--r-- | sysutils/tmpwatch/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysutils/tmpwatch/Makefile b/sysutils/tmpwatch/Makefile index 1501e89e0c2d..15d160d6368a 100644 --- a/sysutils/tmpwatch/Makefile +++ b/sysutils/tmpwatch/Makefile @@ -23,8 +23,6 @@ CFLAGS+= ${CPPFLAGS} -DVERSION=\"${PORTVERSION}\" MAN8= tmpwatch.8 PLIST_FILES= sbin/tmpwatch -.include <bsd.port.pre.mk> - do-extract: ${MKDIR} ${WRKDIR} cd ${WRKDIR} && \ @@ -35,10 +33,6 @@ do-extract: post-patch: ${REINPLACE_CMD} -E "s/^#include.+mntent.h.+//g" ${WRKSRC}/tmpwatch.c -.if ${OSVERSION} < 500000 - ${REINPLACE_CMD} -E "s/intmax_t/long long/;s/strtoimax/strtoll/" \ - ${WRKSRC}/tmpwatch.c -.endif do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o tmpwatch tmpwatch.c @@ -47,4 +41,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tmpwatch ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/tmpwatch.8 ${MAN8PREFIX}/man/man8 -.include <bsd.port.post.mk> +.include <bsd.port.mk> |