From owner-svn-ports-all@freebsd.org Mon Oct 19 20:20:23 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D0BFA19FBE; Mon, 19 Oct 2015 20:20:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBA7615FC; Mon, 19 Oct 2015 20:20:22 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9JKKM27028642; Mon, 19 Oct 2015 20:20:22 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9JKKMbk028641; Mon, 19 Oct 2015 20:20:22 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201510192020.t9JKKMbk028641@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 19 Oct 2015 20:20:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399755 - head/graphics/pngrewrite X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 20:20:23 -0000 Author: sunpoet Date: Mon Oct 19 20:20:21 2015 New Revision: 399755 URL: https://svnweb.freebsd.org/changeset/ports/399755 Log: - Use USES=localbase Modified: head/graphics/pngrewrite/Makefile Modified: head/graphics/pngrewrite/Makefile ============================================================================== --- head/graphics/pngrewrite/Makefile Mon Oct 19 20:20:17 2015 (r399754) +++ head/graphics/pngrewrite/Makefile Mon Oct 19 20:20:21 2015 (r399755) @@ -15,16 +15,14 @@ LICENSE= ZLIB LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lm -lpng -lz -USES= zip +USES= localbase zip NO_WRKSUBDIR= yes PLIST_FILES= bin/pngrewrite do-build: - ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c + ${CC} ${CFLAGS} ${LDFLAGS} -lm -lpng -lz -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin/