svn commit: r329832 - head/archivers/pxz

Baptiste Daroussin bapt at FreeBSD.org
Tue Oct 8 20:06:45 UTC 2013


Author: bapt
Date: Tue Oct  8 20:06:45 2013
New Revision: 329832
URL: http://svnweb.freebsd.org/changeset/ports/329832

Log:
  Remove uneeded USE_GCC while here cleanup a bit to avoid the now useless pre.mk/post.mk dancing

Modified:
  head/archivers/pxz/Makefile

Modified: head/archivers/pxz/Makefile
==============================================================================
--- head/archivers/pxz/Makefile	Tue Oct  8 19:59:38 2013	(r329831)
+++ head/archivers/pxz/Makefile	Tue Oct  8 20:06:45 2013	(r329832)
@@ -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>


More information about the svn-ports-all mailing list