diff options
author | bapt <bapt@FreeBSD.org> | 2013-10-09 04:06:45 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-10-09 04:06:45 +0800 |
commit | 0efd1b0f3e1e1974899d43c597db47d80cd3e66f (patch) | |
tree | 8c3931ce83d9754fb49a2e2f96c884fa2c034278 /archivers | |
parent | 7e2b451c8a76785cdb68d876e6435d4e87e58bc5 (diff) | |
download | freebsd-ports-gnome-0efd1b0f3e1e1974899d43c597db47d80cd3e66f.tar.gz freebsd-ports-gnome-0efd1b0f3e1e1974899d43c597db47d80cd3e66f.tar.zst freebsd-ports-gnome-0efd1b0f3e1e1974899d43c597db47d80cd3e66f.zip |
Remove uneeded USE_GCC while here cleanup a bit to avoid the now useless pre.mk/post.mk dancing
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> |