diff options
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/pxz/Makefile | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/archivers/pxz/Makefile b/archivers/pxz/Makefile index 48743445a7b8..80fe8c5f3de5 100644 --- a/archivers/pxz/Makefile +++ b/archivers/pxz/Makefile @@ -23,21 +23,8 @@ MAN1= pxz.1 MAKE_ENV+= BINDIR=${PREFIX}/bin \ MANDIR=${MANPREFIX}/man -USE_GCC?= yes +MAKE_ARGS+= CC="${CC}" -.include <bsd.port.pre.mk> +BROKEN_sparc64= Does not link on sparc64 -.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) -LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.endif - -.if ${ARCH} == "sparc64" -BROKEN= Does not link on sparc64 -.endif - -post-patch: - @${REINPLACE_CMD} -e 's/CC=.*/CC:=$${CC}/g' ${WRKSRC}/Makefile - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |