This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
'cygport dep' is empty for orpie
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 04 Apr 2017 00:14:51 -0400
- Subject: 'cygport dep' is empty for orpie
- Authentication-results: sourceware.org; auth=none
I'm building orpie 1.5.2 with cygport 0.24.0 and ocaml 4.04.0. cygport script is
below.
orpie builds and runs fine. But surprisingly, 'cygport dep' comes back empty:
$ cygport orpie.cygport dep
$
even though /usr/bin/orpie depends on libgsl19, libncursesw10, and libblas0:
$ ldd orpie-1.5.2-3.x86_64/inst/usr/bin/orpie
ntdll.dll => /win/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffc9bed0000)
KERNEL32.DLL => /win/c/WINDOWS/System32/KERNEL32.DLL (0x7ffc9a760000)
KERNELBASE.dll => /win/c/WINDOWS/System32/KERNELBASE.dll (0x7ffc98e70000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x3ec850000)
cyggsl-19.dll => /usr/bin/cyggsl-19.dll (0x3f5b20000)
cygblas-0.dll => /usr/bin/cygblas-0.dll (0x3f3e70000)
Any idea why that might be?
Thanks,
Andrew
#
# cygport script for orpie
# by Andrew E. Schulman, 2017-04-03
#
NAME=orpie
VERSION=1.5.2
RELEASE=3
# Packaging
SUMMARY="Fullscreen RPN calculator for the console"
DESCRIPTION="Orpie is a fullscreen RPN calculator for the console. Its
operation
is similar to that of modern HP calculators, but data entry has been
optimized for efficiency on a PC keyboard. Features include extensive
scientific calculator functionality, command completion, and a visible
interactive stack."
CATEGORY="Math"
HOMEPAGE="http://pessimization.com/software/orpie/"
# Sources
SRC_URI="http://pessimization.com/software/orpie/orpie-${PV}.tar.gz"
PATCH_URI="
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-Makefile.in.diff
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-configure.diff
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-gsl-mgsl_sf.c.diff
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-gsl_sf.ml.diff
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-mlgsl_blas.h.diff
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-mlgsl_error.c.diff
"
# Build
DEPEND="ocaml ocaml-camlp4 libgsl-devel"
case "$ARCH" in
i686)
DEPEND+=" libncurses-devel" ;;
x86_64)
DEPEND+=" libncursesw-devel" ;;
esac
src_compile ()
{
# As of April 2016, OCaml is broken OOTB in x86_64. Builds fail with the
# mysterious error "flexdll error: cannot relocate RELOC_REL32, target is
# too far". Fix this. See
# https://cygwin.com/ml/cygwin-apps/2016-04/msg00049.html
if [ "$ARCH" = x86_64 ] ; then
rebase -b 0x06440000 /usr/lib/ocaml/stublibs/dllunix.so
rebase -b 0x06510000 /usr/lib/ocaml/stublibs/dllcamlstr.so
fi
cd "$S"
cygautoreconf
cd "$B"
lndirs # configure doesn't support --srcdir
cygconf --mandir=/usr/share/man CPPFLAGS=-I/usr/include/ncurses
cygmake curses_assist.cmx
cygmake
}
src_install ()
{
cd "$B"
cyginstall
make_etc_defaults /etc/orpierc
}