From owner-svn-ports-all@freebsd.org Tue Jan 12 14:36:22 2021 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 6BA864DA53F; Tue, 12 Jan 2021 14:36:22 +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) 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 4DFY6Z2WyZz3MRY; Tue, 12 Jan 2021 14:36: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 4990A2E5A8; Tue, 12 Jan 2021 14:36: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 10CEaM3U048518; Tue, 12 Jan 2021 14:36:22 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10CEaL83048516; Tue, 12 Jan 2021 14:36:21 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <202101121436.10CEaL83048516@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Tue, 12 Jan 2021 14:36:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561337 - in head/sysutils/env4801: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/sysutils/env4801: . files X-SVN-Commit-Revision: 561337 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.34 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: Tue, 12 Jan 2021 14:36:22 -0000 Author: bapt Date: Tue Jan 12 14:36:21 2021 New Revision: 561337 URL: https://svnweb.freebsd.org/changeset/ports/561337 Log: allow to build on recent head The distfile is using the FreeBSD make framework provided in sources to build, but still defines NO_MAN which is not supported for a while to define it expects no manual pages, the properly to define it now is to declare an empty MAN variable. While here use options helpers from the ports framework Added: head/sysutils/env4801/files/patch-Makefile (contents, props changed) Modified: head/sysutils/env4801/Makefile Modified: head/sysutils/env4801/Makefile ============================================================================== --- head/sysutils/env4801/Makefile Tue Jan 12 14:35:14 2021 (r561336) +++ head/sysutils/env4801/Makefile Tue Jan 12 14:36:21 2021 (r561337) @@ -17,7 +17,6 @@ NO_WRKSUBDIR= yes EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKSRC} -MK_MAN= no PLIST_FILES= sbin/env4801 etc/rc.d/env4801.sh @@ -27,12 +26,8 @@ OPTIONS_DEFINE= STATIC OPTIONS_DEFAULT= STATIC STATIC_DESC= Build a statically linked executable -.include - -post-patch: -.if ! ${PORT_OPTIONS:MSTATIC} +post-patch-STATIC-off: @${REINPLACE_CMD} -e '/-static/d' ${WRKSRC}/Makefile -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/env4801 ${STAGEDIR}${PREFIX}/sbin Added: head/sysutils/env4801/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/env4801/files/patch-Makefile Tue Jan 12 14:36:21 2021 (r561337) @@ -0,0 +1,11 @@ +--- Makefile.orig 2021-01-12 14:27:18 UTC ++++ Makefile +@@ -2,7 +2,7 @@ PROG= env4801 + + WARNS?= 3 + +-NO_MAN= sorry ++MAN= + + #CFLAGS += -fno-builtin-ffs +