Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 20:06:45 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329832 - head/archivers/pxz
Message-ID:  <201310082006.r98K6jP2035412@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310082006.r98K6jP2035412>