summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-01 20:00:29 +0000
committerjlam <jlam@pkgsrc.org>2004-08-01 20:00:29 +0000
commit6e5e0bb56af5499c0dca1098263cdbc63a936601 (patch)
tree2911a0a61f1566e3b6fc3e08ece3b5ccdd3f59a7 /archivers
parentfab4ea882519b6a24f926a38052c1dbb8de1d9f6 (diff)
downloadpkgsrc-6e5e0bb56af5499c0dca1098263cdbc63a936601.tar.gz
Rewrite test to make it easier to maintain.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lha/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile
index 8dfeb826281..a578de0cfe7 100644
--- a/archivers/lha/Makefile
+++ b/archivers/lha/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/05/30 07:06:26 minskim Exp $
+# $NetBSD: Makefile,v 1.23 2004/08/01 20:00:29 jlam Exp $
DISTNAME= lha-114i
PKGNAME= lha-114.9
@@ -19,11 +19,12 @@ NO_CONFIGURE= yes
MAKE_FLAGS= MAKE="${MAKE_PROGRAM}"
.include "../../mk/bsd.prefs.mk"
+
+LHA_CPPFLAGS= -DSYSTIME_HAS_NO_TM -DMKTIME -DUSESTRCASECMP -DSYSV_SYSTEM_DIR
.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 -DMKTIME -DUSESTRCASECMP -DSYSV_SYSTEM_DIR"
+LHA_CPPFLAGS+= -DHAVE_NO_LCHOWN
.endif
+MAKE_FLAGS+= MACHINE="${LHA_CPPFLAGS}"
INSTALLATION_DIRS= bin man/ja_JP.EUC/man1