From nobody Mon Jun 14 19:41:02 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 96D6B7EBFE3 for ; Mon, 14 Jun 2021 19:39:49 +0000 (UTC) (envelope-from pj@smo.de) Received: from mail.adebahr.de (mail.adebahr.de [185.66.179.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.adebahr.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G3hc458nsz4d9H for ; Mon, 14 Jun 2021 19:39:48 +0000 (UTC) (envelope-from pj@smo.de) Received: from localhost (localhost [127.0.0.1]) by mail.adebahr.de (Postfix) with ESMTP id B0F6A613BEF65 for ; Mon, 14 Jun 2021 21:39:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=smo.de; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:user-agent:date:date:message-id :subject:subject:from:from; s=mail; t=1623699580; x=1625513981; bh=nVDMILhJylbUgGWJ7eeZ6dKJf5GyaHbFFZVzaJY9JbI=; b=rwjsFWOC/w4i x8d2bni5JILnpVdvnn7LVU+WlO13FvH9xT1rw7pZoUDv0IbR95nVKS9TwRtSjYQU ytSQeYaFrBfUezNKLeg/Zw5Nfu2axa6VmUr9/z66pLan0lapJ22w2o5hrKiruTg6 chghPCJ3HvLsWe07Z4bwsGq67Qy3+WI= Received: from mail.adebahr.de ([127.0.0.1]) by localhost (mail.adebahr.de [127.0.0.1]) (amavisd-new, port 10026) with LMTP id fjZ5E3ZVg0th for ; Mon, 14 Jun 2021 21:39:40 +0200 (CEST) Received: from skjaldbreidur.intern.smo.de (p5b239a2d.dip0.t-ipconnect.de [91.35.154.45]) by mail.adebahr.de (Postfix) with ESMTPSA id 80EA7613C0204 for ; Mon, 14 Jun 2021 21:39:40 +0200 (CEST) To: ports@freebsd.org From: Philipp Ost Subject: New port: math/polymake -- some questions and help needed Message-ID: <87dbb6a1-2b1e-ef43-cf3c-b4becddff1b9@smo.de> Date: Mon, 14 Jun 2021 21:41:02 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4G3hc458nsz4d9H X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smo.de header.s=mail header.b=rwjsFWOC; dmarc=none; spf=pass (mx1.freebsd.org: domain of pj@smo.de designates 185.66.179.123 as permitted sender) smtp.mailfrom=pj@smo.de X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[185.66.179.123:from]; R_DKIM_ALLOW(-0.20)[smo.de:s=mail]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.66.179.96/27]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[185.66.179.123:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[smo.de]; DKIM_TRACE(0.00)[smo.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:198930, ipnet:185.66.176.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[ports]; RECEIVED_SPAMHAUS_PBL(0.00)[91.35.154.45:received] X-ThisMailContainsUnwantedMimeParts: N Hi ports@ I've been working on a port of polymake (polymake.org). Most of the work is done, but there are some questions. Please advise: - How to deal with machine/installation dependent path names? polymake installs a helper library into ${PREFIX}/libexec/polymake/perlx/%%PERL_VERSION%%/amd64-freebsd-thread-multi/auto/Polymake/Ext/Ext.so amd64-freebsd-thread-multi is the output of perl -E 'use Config; print "$Config::Config{archname}\n";' How do I correctly handle this entry in pkg-plist? - From reading the Porters Handbook, I get the impression that setting DESTDIR is frowned upon. However, if I don't set DESTDIR=${STAGEDIR} in the do-install target, "make stage" dumps everything to ${PREFIX}. Any comments on this? - polymake installs a shared library libpolymake.so. I set USE_LDCONFIG, but "portlint -A" complains that no libraries are installed. Why? If I do install the port in its current form, everything looks fine: $ pkg info polymake ... Shared Libs provided: libpolymake-apps-rt.so.4.4 libpolymake.so.4.4 ... $ Should I worry about this? You can find the current state of affairs at philippost.de/polymake.tar.xz I appreciate any hints and comments you may have. It's my first port and I hope I didn't miss anything important. ;-) Thanks in advance! Philipp