Browse Source

system/openrc: Fix 15.0 build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/168/head
B. Watson 4 years ago
committed by Willy Sudiarto Raharjo
parent
commit
b59fbf0e86
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 7
      system/openrc/openrc.SlackBuild
  2. 2
      system/openrc/openrc.info

7
system/openrc/openrc.SlackBuild

@ -23,6 +23,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220208 bkw: modified by SlackBuilds.org to fix 15.0 build, and to
# actually use SLKCFLAGS.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openrc
@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -93,6 +93,7 @@ MAKEARGS+=(MKTERMCAP=ncurses)
MAKEARGS+=(MKSYSVINIT=no)
MAKEARGS+=(MKBASHCOMP=yes)
MAKEARGS+=(MKZSHCOMP=yes)
MAKEARGS+=(CFLAGS="$SLKCFLAGS -fcommon")
#MAKEARGS+=(BRANDING="$(cat /etc/slackware-version)")
make "${MAKEARGS[@]}"

2
system/openrc/openrc.info

@ -1,7 +1,7 @@
PRGNAM="openrc"
VERSION="0.42.1"
HOMEPAGE="https://github.com/OpenRC/openrc"
DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.42.1.tar.gz"
DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.42.1/openrc-0.42.1.tar.gz"
MD5SUM="1a3de67032d59529460f150e2db859f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""

Loading…
Cancel
Save