diff options
author | yyamano <yyamano@pkgsrc.org> | 2002-03-09 04:55:33 +0000 |
---|---|---|
committer | yyamano <yyamano@pkgsrc.org> | 2002-03-09 04:55:33 +0000 |
commit | 628de535e8d84501a9977e26317e7d32476970d4 (patch) | |
tree | 33232a837becd46c1c9399a54d2a29f5dc2a8edf /archivers | |
parent | 307c1dd6794a36010c4d5606184b95783e3a135b (diff) | |
download | pkgsrc-628de535e8d84501a9977e26317e7d32476970d4.tar.gz |
Make it build on Darwin.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lha/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile index 12bc6394d2f..7427db2f04e 100644 --- a/archivers/lha/Makefile +++ b/archivers/lha/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/12/06 05:09:46 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2002/03/09 04:55:33 yyamano Exp $ DISTNAME= lha-114i PKGNAME= lha-114.9 @@ -12,7 +12,13 @@ COMMENT= Archive files using LZW compression (.lzh files) USE_BUILDLINK_ONLY= # defined MAKE_FLAGS= CC="${CC}" MAKE="${MAKE_PROGRAM}" + +.include "../../mk/bsd.prefs.mk" +.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" +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${PREFIX}/bin/ |