From owner-svn-ports-all@freebsd.org Wed Sep 23 22:17:10 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F0DA3E00D0; Wed, 23 Sep 2020 22:17:10 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxXbT6jbDz4Rr9; Wed, 23 Sep 2020 22:17:09 +0000 (UTC) (envelope-from se@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CAA6B177DC; Wed, 23 Sep 2020 22:17:09 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08NMH9et055335; Wed, 23 Sep 2020 22:17:09 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08NMH96j055333; Wed, 23 Sep 2020 22:17:09 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009232217.08NMH96j055333@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Wed, 23 Sep 2020 22:17:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549858 - in head/sysutils/hexpeek: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/sysutils/hexpeek: . files X-SVN-Commit-Revision: 549858 X-SVN-Commit-Repository: ports 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.33 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: Wed, 23 Sep 2020 22:17:10 -0000 Author: se Date: Wed Sep 23 22:17:09 2020 New Revision: 549858 URL: https://svnweb.freebsd.org/changeset/ports/549858 Log: Make test/Makefile use system CFLAGS While here reformat the Makefile with portfmt. Added: head/sysutils/hexpeek/files/patch-test_Makefile (contents, props changed) Modified: head/sysutils/hexpeek/Makefile Modified: head/sysutils/hexpeek/Makefile ============================================================================== --- head/sysutils/hexpeek/Makefile Wed Sep 23 22:08:35 2020 (r549857) +++ head/sysutils/hexpeek/Makefile Wed Sep 23 22:17:09 2020 (r549858) @@ -4,7 +4,7 @@ PORTNAME= hexpeek DISTVERSIONPREFIX= v DISTVERSION= 1.0.20200804 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= https://www.hexpeek.com/releases/${DISTNAME}/ @@ -14,13 +14,17 @@ COMMENT= Hex file editor LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= tar:bzip2 libedit ncurses +USES= libedit ncurses tar:bzip2 USE_CSTD= c99 -CFLAGS+= -Isrc -D_WITH_GETLINE -L${LOCALBASE}/lib +CFLAGS+= -D_WITH_GETLINE -Isrc -L${LOCALBASE}/lib -PLIST_FILES= bin/hexdiff bin/hexDump bin/hexpack bin/hexpeek bin/hexview -PLIST_FILES+= share/man/man1/hexpeek.1.gz +PLIST_FILES= bin/hexdiff \ + bin/hexDump \ + bin/hexpack \ + bin/hexpeek \ + bin/hexview \ + share/man/man1/hexpeek.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin Added: head/sysutils/hexpeek/files/patch-test_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/hexpeek/files/patch-test_Makefile Wed Sep 23 22:17:09 2020 (r549858) @@ -0,0 +1,22 @@ +--- test/Makefile.orig 2020-08-04 05:58:52 UTC ++++ test/Makefile +@@ -24,11 +24,7 @@ + # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-SRCDIR := . +-BINDIR := . +-EXEC := $(BINDIR)/simplediff +-CC ?= clang +-CFLAGS := -O3 -Wall #-fPIC ++EXEC = simplediff + + all: $(EXEC) + make -C base +@@ -37,5 +33,4 @@ clear: + rm -f $(EXEC) + make -C base clear + +-$(BINDIR)/simplediff: $(SRCDIR)/simplediff.c +- $(CC) $(CFLAGS) -o $@ $(SRCDIR)/simplediff.c ++$(EXEC): simplediff.c