diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-26 16:05:16 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-05-26 16:05:16 +0000 |
commit | 295a79963d7c4bc94995a0acc14e0b3f7afb5dfe (patch) | |
tree | 55a0f059c80d0631ebde020f6cabe6e2f04fbe25 /archivers/lzma | |
parent | 8ff968f477de3c4e962d66781bdf36ebd4ff38f0 (diff) | |
download | ports-295a79963d7c4bc94995a0acc14e0b3f7afb5dfe.tar.gz ports-295a79963d7c4bc94995a0acc14e0b3f7afb5dfe.zip |
Notes
Diffstat (limited to 'archivers/lzma')
-rw-r--r-- | archivers/lzma/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile index 755c55b50eb4..7f6489bc4f97 100644 --- a/archivers/lzma/Makefile +++ b/archivers/lzma/Makefile @@ -14,7 +14,6 @@ DISTNAME= lzma${PORTVERSION:S/.//g} MAINTAINER= jylefort@FreeBSD.org COMMENT= Command line lzma archiver -USE_GCC= 3.4+ USE_BZIP2= yes USE_GMAKE= yes USE_REINPLACE= yes @@ -22,6 +21,7 @@ NO_WRKSUBDIR= yes BUILD_WRKSRC= ${WRKSRC}/SRC/7zip/Compress/LZMA_Alone MAKEFILE= makefile +MAKE_ENV= CC="${CC}" CXX="${CXX}" PLIST_FILES= bin/lzma .if !defined(NOPORTDOCS) @@ -29,6 +29,8 @@ PORTDOCS= *.txt .endif post-patch: + @${FIND} ${WRKSRC} -name '*.[ch]' -exec ${REINPLACE_CMD} -e \ + "s|`${ECHO_CMD} -e '\r'`$$||" {} \; @${REINPLACE_CMD} -e \ 's|^CXX.*||; \ s|$$(CXX_C)|$$(CC)|; \ |