Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 21:41:02 +0200
From:      Philipp Ost <pj@smo.de>
To:        ports@freebsd.org
Subject:   New port: math/polymake -- some questions and help needed
Message-ID:  <87dbb6a1-2b1e-ef43-cf3c-b4becddff1b9@smo.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87dbb6a1-2b1e-ef43-cf3c-b4becddff1b9>