summaryrefslogtreecommitdiff
path: root/archivers/lha
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2003-04-19 17:48:08 +0000
committerheinz <heinz@pkgsrc.org>2003-04-19 17:48:08 +0000
commitf432d7cfe2d0ce58c8c098209aa00e7c73287fee (patch)
tree8997c9eafc6c9bf2dbd9c98dc67b73f2e1dfd92a /archivers/lha
parentbc9c1d053e7be7f5b0b9c18761ce25fb6425fa9c (diff)
downloadpkgsrc-f432d7cfe2d0ce58c8c098209aa00e7c73287fee.tar.gz
Use mktime(3) instead of timelocal which doesn't exist on Solaris and
is deprecated on NetBSD. Other platforms support mktime as well. Bump package revision.
Diffstat (limited to 'archivers/lha')
-rw-r--r--archivers/lha/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile
index a3633e7992e..054470badd6 100644
--- a/archivers/lha/Makefile
+++ b/archivers/lha/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2002/08/25 21:49:12 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2003/04/19 17:48:08 heinz Exp $
DISTNAME= lha-114i
PKGNAME= lha-114.9
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www2m.biglobe.ne.jp/~dolphin/lha/prog/ \
ftp://ftp.win.ne.jp/pub/misc/
@@ -17,7 +18,7 @@ MAKE_FLAGS= MAKE="${MAKE_PROGRAM}"
.if ${OPSYS} == "Darwin"
MAKE_FLAGS+= MACHINE="-DSYSTIME_HAS_NO_TM -DMKTIME -DUSESTRCASECMP -DSYSV_SYSTEM_DIR -DHAVE_NO_LCHOWN"
.else
-MAKE_FLAGS+= MACHINE="-DSYSTIME_HAS_NO_TM -DTIMELOCAL -DUSESTRCASECMP -DSYSV_SYSTEM_DIR"
+MAKE_FLAGS+= MACHINE="-DSYSTIME_HAS_NO_TM -DMKTIME -DUSESTRCASECMP -DSYSV_SYSTEM_DIR"
.endif
do-install: