diff options
Diffstat (limited to '.fmsbw/20-freebsd14-osx-sciteco')
-rwxr-xr-x | .fmsbw/20-freebsd14-osx-sciteco | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.fmsbw/20-freebsd14-osx-sciteco b/.fmsbw/20-freebsd14-osx-sciteco index 0173924..a3eea1f 100755 --- a/.fmsbw/20-freebsd14-osx-sciteco +++ b/.fmsbw/20-freebsd14-osx-sciteco @@ -47,9 +47,12 @@ mkdir build-osx cd build-osx # FIXME: Perhaps SciTECO's configure.ac should use PKG_CHECK_MODULES_STATIC() # whenever --enable-static-executables is used. +# NOTE: Make sure we pick up the SDK's ncurses instead of the one pulled in +# via MacPorts. ../configure --host=x86_64-apple-darwin25 --disable-bootstrap --with-interface=ncurses \ --enable-static-executables --with-scitecodatadir=../share/sciteco \ - PKG_CONFIG="x86_64-apple-darwin25-pkg-config --static" + PKG_CONFIG="x86_64-apple-darwin25-pkg-config --static" \ + CURSES_CFLAGS="-D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR" CURSES_LIBS="-lncurses" gmake install-strip DESTDIR=`pwd`/temp-install # There are libraries we cannot link against statically. # We ship them in /usr/local/lib/sciteco so as not to cause collisions with system @@ -61,6 +64,7 @@ gmake install-strip DESTDIR=`pwd`/temp-install dylibbundler -b -x temp-install/usr/local/bin/sciteco \ -cd -d temp-install/usr/local/lib/sciteco -p @executable_path/../lib/sciteco \ --no-codesign +# FIXME: Perhaps create pkg using fpm (https://github.com/jordansissel/fpm)? (cd temp-install; tar czf ../../sciteco-curses_nightly_macos_x86_64.tar.gz *) cd .. |