diff --git a/build/sccs/build.sh b/build/sccs/build.sh index b574b9c19..9ae97d7b3 100755 --- a/build/sccs/build.sh +++ b/build/sccs/build.sh @@ -12,12 +12,13 @@ # http://www.illumos.org/license/CDDL. # }}} -# Copyright 2022 OmniOS Community Edition (OmniOSce) Association. +# Copyright 2024 OmniOS Community Edition (OmniOSce) Association. . ../../lib/build.sh PROG=sccs VER=5.09 +DASHREV=1 PKG=developer/versioning/sccs SUMMARY="Source Code Control System (SCCS)" DESC="The POSIX standard Source Code Control System (SCCS)" @@ -39,16 +40,23 @@ configure_arch() { :; } MAKE="dmake" MAKE_ARGS="CCOM=gcc32" MAKE_ARGS_WS=" - COPTX=\"$CTF_CFLAGS $SSPFLAGS\" - LDOPTX=\"$CTF_CFLAGS $SSPFLAGS\" + COPTX=\"$CTF_CFLAGS $SSPFLAGS -fpermissive\" + LDOPTX=\"$CTF_CFLAGS $SSPFLAGS -fpermissive\" " MAKE_INSTALL_ARGS="$MAKE_ARGS" +run_test() { + $EGREP -s '#[[:space:]]*define[[:space:]]*SIZEOF_INT[[:space:]]*4$' \ + $TMPDIR/$BUILDDIR/include/schily/xmconfig.h \ + || logerr "Configure failed to detect type sizes" +} + init prep_build download_source $PROG $PROG $VER patch_source build +run_test make_package clean_up diff --git a/build/sccs/local.mog b/build/sccs/local.mog index 262f8ad11..1990383ba 100644 --- a/build/sccs/local.mog +++ b/build/sccs/local.mog @@ -7,7 +7,7 @@ # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. -# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. +# Copyright 2024 OmniOS Community Edition (OmniOSce) Association. license CDDL.Schily.txt license=CDDL license GPL-2.0.txt license=GPLv2 @@ -20,21 +20,19 @@ license GPL-2.0.txt license=GPLv2 set mode 0755> set mode 0755> -# Drop diff binaries and man pages - drop> - drop> - -# Drop patch man page - drop> - # Links to /usr/bin - drop> - emit \ + emit \ link path=usr/bin/%<1> target=../ccs/bin/%<1> > # We do not want such a generic command as 'help' in usr/bin, rename it edit path help sccshelp> - edit path help sccshelp> + edit path help sccshelp> + +# We don't want to replace the system diff binaries, drop + drop> + +# Drop conflicting man pages + drop> # Relocate section 4 manpages to section 5 edit path 4 5>