From owner-svn-ports-head@freebsd.org Sun Apr 16 12:03:07 2017 Return-Path: Delivered-To: svn-ports-head@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 1B481D419A7; Sun, 16 Apr 2017 12:03:07 +0000 (UTC) (envelope-from danfe@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 DECC41DE; Sun, 16 Apr 2017 12:03:06 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3GC36OJ099446; Sun, 16 Apr 2017 12:03:06 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3GC35KC099445; Sun, 16 Apr 2017 12:03:06 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201704161203.v3GC35KC099445@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sun, 16 Apr 2017 12:03:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438656 - head/archivers/pbzip2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2017 12:03:07 -0000 Author: danfe Date: Sun Apr 16 12:03:05 2017 New Revision: 438656 URL: https://svnweb.freebsd.org/changeset/ports/438656 Log: Remove dependency on GNU make(1). It turns out that GNU make(1) is only required because their make(1) spells target dependencies as $^ while ours use $>. This change makes the pbzip2's Makefile both GNU and BSD make(1) friendly at the same time. This is required to be able to use `archivers/pbzip2' port as a PKG_DEPEND. Approved by: farrokhi (maintainer) Modified: head/archivers/pbzip2/Makefile Modified: head/archivers/pbzip2/Makefile ============================================================================== --- head/archivers/pbzip2/Makefile Sun Apr 16 12:00:13 2017 (r438655) +++ head/archivers/pbzip2/Makefile Sun Apr 16 12:03:05 2017 (r438656) @@ -11,12 +11,15 @@ COMMENT= Parallel BZIP2 LICENSE= BSD4CLAUSE -USES= gmake MAKE_ARGS= CFLAGS="${CXXFLAGS}" CC="${CXX}" PLIST_FILES= bin/pbzip2 bin/pbunzip2 \ man/man1/pbzip2.1.gz man/man1/pbunzip2.1.gz +post-patch: +# Spell target sources to be understood by both BSD and GNU make(1) + @${REINPLACE_CMD} -e 's,$$^,$$>&,' ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/pbunzip2