summaryrefslogtreecommitdiff
path: root/sysutils/tmpwatch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/tmpwatch/Makefile')
-rw-r--r--sysutils/tmpwatch/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/tmpwatch/Makefile b/sysutils/tmpwatch/Makefile
index 167e32c4dfb2..c6d94450d669 100644
--- a/sysutils/tmpwatch/Makefile
+++ b/sysutils/tmpwatch/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tmpwatch
PORTVERSION= 2.8.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX}
MASTER_SITE_SUBDIR= updates/7.2/en/os/SRPMS
@@ -16,11 +17,11 @@ MAINTAINER= markp@FreeBSD.org
COMMENT= A utility for removing files based on when they were last accessed
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+USE_GETOPT_LONG=yes
CPIO?= /usr/bin/cpio
-CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${PORTVERSION}\"
-LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
+CFLAGS+= ${CPPFLAGS} -DVERSION=\"${PORTVERSION}\"
MAN8= tmpwatch.8
do-extract: