From owner-dev-commits-ports-main@freebsd.org Fri Sep 17 15:08:38 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 3543A6B4D1E; Fri, 17 Sep 2021 15:08:38 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H9y5K5LK3z3FDY; Fri, 17 Sep 2021 15:08:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 840401706B; Fri, 17 Sep 2021 15:08:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18HF8bZS035254; Fri, 17 Sep 2021 15:08:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18HF8bD0035253; Fri, 17 Sep 2021 15:08:37 GMT (envelope-from git) Date: Fri, 17 Sep 2021 15:08:37 GMT Message-Id: <202109171508.18HF8bD0035253@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: 7e72eaf09e87 - main - devel/libelf: Make fetchable and Makefile cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7e72eaf09e87aa6192071f87a74dd3e988992b3c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2021 15:08:38 -0000 The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e72eaf09e87aa6192071f87a74dd3e988992b3c commit 7e72eaf09e87aa6192071f87a74dd3e988992b3c Author: Rodrigo Osorio AuthorDate: 2021-09-17 14:54:33 +0000 Commit: Rodrigo Osorio CommitDate: 2021-09-17 15:08:32 +0000 devel/libelf: Make fetchable and Makefile cleanup Update MASTER_SITES to NETBSD repo and make libelf fetchable Update Makefile to make use of Ports framework and make portclippy happy PR: 258520 Reported by: diizzy --- devel/libelf/Makefile | 44 ++++++++++++++++---------------------------- devel/libelf/pkg-descr | 2 +- 2 files changed, 17 insertions(+), 29 deletions(-) diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile index 992a98242528..0d7643336aa7 100644 --- a/devel/libelf/Makefile +++ b/devel/libelf/Makefile @@ -1,53 +1,41 @@ # Created by: roam@FreeBSD.org PORTNAME= libelf -PORTVERSION= 0.8.13 +DISTVERSION= 0.8.13 PORTREVISION= 3 CATEGORIES= devel -MASTER_SITES= http://www.mr511.de/software/ \ - SUNSITE/libs +MASTER_SITES= NETBSD MAINTAINER= rodrigo@FreeBSD.org COMMENT= Public ELF file access library similar to libelf(3) in Solaris LICENSE= LGPL20 +USES= desthack pathfix +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared --disable-compat + CONFLICTS_INSTALL= elfutils -OPTIONS_DEFINE= EXTENDED NLS SANITY +OPTIONS_DEFINE= EXTENDED NLS SANITY OPTIONS_DEFAULT= EXTENDED SANITY -EXTENDED_DESC= ELF format extensions -SANITY_DESC= Avoid loading invalid ELF files +EXTENDED_DESC= ELF format extensions +SANITY_DESC= Avoid loading invalid ELF files -.include +EXTENDED_CONFIGURE_ENABLE= extended-format +NLS_USES= gettext localbase:ldflags +NLS_CONFIGURE_ENABLE= nls +NLS_LDFLAGS= -lintl +SANITY_CONFIGURE_ENABLE= sanity-checks -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-shared --disable-compat -USE_LDCONFIG= yes -USES= desthack pathfix +.include .if ${PORT_OPTIONS:MNLS} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lintl -CONFIGURE_ARGS+= --enable-nls -USES+= gettext PLIST_SUB+= GETTEXT="" .else -CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= GETTEXT="@comment " .endif -.if ${PORT_OPTIONS:MEXTENDED} -CONFIGURE_ARGS+= --enable-extended-format -.else -CONFIGURE_ARGS+= --disable-extended-format -.endif - -.if ${PORT_OPTIONS:MSANITY} -CONFIGURE_ARGS+= --enable-sanity-checks -.else -CONFIGURE_ARGS+= --disable-sanity-checks -.endif - .include diff --git a/devel/libelf/pkg-descr b/devel/libelf/pkg-descr index c39657adf3fe..2bebb4a4489c 100644 --- a/devel/libelf/pkg-descr +++ b/devel/libelf/pkg-descr @@ -5,4 +5,4 @@ From the libelf README file: that use libelf and work with the commercial (SVR4, Solaris) version but not with this one, please contact me. -WWW: http://www.mr511.de/software/ +WWW: https://web.archive.org/web/20181111033959/www.mr511.de/software/english.html