Date: Sun, 16 Apr 2017 12:03:05 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438656 - head/archivers/pbzip2 Message-ID: <201704161203.v3GC35KC099445@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704161203.v3GC35KC099445>