diff options
author | sat <sat@FreeBSD.org> | 2007-07-28 19:58:31 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-07-28 19:58:31 +0800 |
commit | 780754391bd72fcda50a402a946980a588fd6408 (patch) | |
tree | dde35984aa7bf94aefde343624df63fe4c46302b /archivers | |
parent | b2f86aa56df32adc59269ff639994fee68f158bd (diff) | |
download | freebsd-ports-gnome-780754391bd72fcda50a402a946980a588fd6408.tar.gz freebsd-ports-gnome-780754391bd72fcda50a402a946980a588fd6408.tar.zst freebsd-ports-gnome-780754391bd72fcda50a402a946980a588fd6408.zip |
- Respect CXX and CFLAGS better
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lzma/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile index b8963abf2c80..a82dd561c09a 100644 --- a/archivers/lzma/Makefile +++ b/archivers/lzma/Makefile @@ -22,6 +22,7 @@ BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Compress/LZMA_Alone MAKEFILE= makefile.gcc PLIST_FILES= bin/lzma CFLAGS+= -D_LZMA_SYSTEM_SIZE_T +MAKE_ENV+= CXX="${CXX}" PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt @@ -29,7 +30,7 @@ post-patch: @${REINPLACE_CMD} -e 's|4\.49|${DISTVERSION}|' \ ${BUILD_WRKSRC}/LzmaAlone.cpp @${REINPLACE_CMD} -e \ - 's|^CXX.*||;s|CXX_C|CC|;s|^CFLAGS =|CFLAGS +=|'\ + '/^CXX/d;s|CXX_C|CC|;s|^CFLAGS =|CFLAGS +=|;s|-o|${CFLAGS} -o|'\ ${BUILD_WRKSRC}/${MAKEFILE} do-install: |