diff options
author | yyamano <yyamano> | 2002-03-09 04:55:33 +0000 |
---|---|---|
committer | yyamano <yyamano> | 2002-03-09 04:55:33 +0000 |
commit | 34084a0ca2597496507c16f185163185d9d4cf53 (patch) | |
tree | 33232a837becd46c1c9399a54d2a29f5dc2a8edf /archivers/lha | |
parent | 4a42e8475656d4f9a3929005c235659a8e845fc2 (diff) | |
download | pkgsrc-34084a0ca2597496507c16f185163185d9d4cf53.tar.gz |
Make it build on Darwin.
Diffstat (limited to 'archivers/lha')
-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/ |