[MacPorts] #29161: tinysvm @ 0.09 - new port
MacPorts
noreply at macports.org
Tue Apr 19 00:48:35 PDT 2011
#29161: tinysvm @ 0.09 - new port
----------------------------------------+-----------------------------------
Reporter: hiroshi.umemoto@… | Owner: ryandesign@…
Type: submission | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Resolution: fixed | Keywords: science
Port: tinysvm |
----------------------------------------+-----------------------------------
Changes (by ryandesign@…):
* status: assigned => closed
* resolution: => fixed
Comment:
Added in r77996 with these changes:
* You had the port name as "tinysvm" and had set `distfiles` because the
distfile had "TinySVM" in the name, but you didn't set `worksrcdir`,
meaning the port would have failed on case-sensitive filesystems. I was
going to suggest setting `distname` instead, since that would take care of
both `distfiles` and `worksrcdir`, but in fact, it's simplest to just set
the port name to "TinySVM"; the only reason we didn't used to do that is
that years ago, MacPorts used to have a bug when you specified the port
name on the command line with a different case than the port specified.
But this bug was fixed a long time ago.
* did not add your universal stuff since the port did not need it; it has
a standard autoconf-based configure script and so it works fine with the
default universal variant already provided in MacPorts base -- except that
the configure script deliberately overwrites our CFLAGS and CXXFLAGS; I
added a patch so it wouldn't do that anymore
* removed "`use_autoreconf yes`"; it seems to build fine with the
existing configure script, even if it is generated by an old autoconf
* changed "`configure.env-append CPPFLAGS=-D__GNU_LIBRARY__`" to
"`configure.cppflags-append -D__GNU_LIBRARY__`"
* changed `master_sites` to avoid double slash in download URL
* changed `livecheck.url` using `lindex`, just in case a second download
URL ever gets added to the portfile
* indicated the version of the license in the `license` field
* changed "`--enable-shared=no`" to "`--disable-shared`" which seems more
straightforward
I assume the reason you're disabling the shared library is that it did not
build? It didn't build for me when I tried it. Otherwise we would prefer
to have the shared library.
--
Ticket URL: <https://trac.macports.org/ticket/29161#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list