From owner-svn-ports-head@freebsd.org Thu Jan 2 09:08:23 2020 Return-Path: Delivered-To: svn-ports-head@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 0D21E1F1BFC; Thu, 2 Jan 2020 09:08:23 +0000 (UTC) (envelope-from bapt@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) server-signature RSA-PSS (4096 bits) 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 47pMdf6hmfz45sh; Thu, 2 Jan 2020 09:08:22 +0000 (UTC) (envelope-from bapt@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 DC14818F2F; Thu, 2 Jan 2020 09:08:22 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00298Mjt026617; Thu, 2 Jan 2020 09:08:22 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00298MO8026615; Thu, 2 Jan 2020 09:08:22 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <202001020908.00298MO8026615@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 2 Jan 2020 09:08:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r521810 - in head/misc/ipbt: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/misc/ipbt: . files X-SVN-Commit-Revision: 521810 X-SVN-Commit-Repository: ports 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.29 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: Thu, 02 Jan 2020 09:08:23 -0000 Author: bapt Date: Thu Jan 2 09:08:22 2020 New Revision: 521810 URL: https://svnweb.freebsd.org/changeset/ports/521810 Log: Modify the upstream makefile to put the -lncursesw flag into a variable which we can override from the make command line, this allows to switch which lib we want to link to depending on what is provided in base Added: head/misc/ipbt/files/ head/misc/ipbt/files/patch-Makefile (contents, props changed) Modified: head/misc/ipbt/Makefile Modified: head/misc/ipbt/Makefile ============================================================================== --- head/misc/ipbt/Makefile Thu Jan 2 09:03:48 2020 (r521809) +++ head/misc/ipbt/Makefile Thu Jan 2 09:08:22 2020 (r521810) @@ -13,7 +13,7 @@ COMMENT= High-tech ttyrec player with improvements ove USES= ncurses perl5 shebangfix ALL_TARGET= ${PORTNAME} -MAKE_ARGS= LFLAGS="${LDFLAGS}" +MAKE_ARGS= LFLAGS="${LDFLAGS}" NCURSES_LIB=-l${NCURSES_IMPL} PLIST_FILES= bin/ipbt bin/ttygrep bin/ttydump man/man1/ipbt.1.gz SHEBANG_FILES= sbcsgen.pl Makefile ttygrep ttydump Added: head/misc/ipbt/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/ipbt/files/patch-Makefile Thu Jan 2 09:08:22 2020 (r521810) @@ -0,0 +1,17 @@ +--- Makefile.orig 2020-01-02 09:04:45 UTC ++++ Makefile +@@ -1,3 +1,5 @@ ++NCURSES_LIB= -lncursesw ++ + .c.o: + $(CC) $(CFLAGS) $(XFLAGS) -c $*.c + +@@ -7,7 +9,7 @@ IPBT = be_none.o fromucs.o ipbt.o ldiscucs.o localenc. + wcwidth.o xenc.o + + ipbt: $(IPBT) +- $(CC) $(LFLAGS) -o ipbt $(IPBT) -lm -lncursesw ++ $(CC) $(LFLAGS) -o ipbt $(IPBT) -lm $(NCURSES_LIB) + + be_none.o: be_none.c putty.h puttyps.h unix.h charset.h network.h misc.h \ + puttymem.h