aboutsummaryrefslogtreecommitdiff
path: root/system/openrc/openrc.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-08 16:20:55 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:35:15 +0700
commitb59fbf0e86b94e07ce98522b19d6fdf88e3c2e40 (patch)
tree794e6dd33a48014fcb499ad7ec929aa0b1d72e8a /system/openrc/openrc.SlackBuild
parent32c43969e75928f69f607a3543f151fa3912d54e (diff)
downloadslackbuilds-b59fbf0e86b94e07ce98522b19d6fdf88e3c2e40.tar.xz
system/openrc: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/openrc/openrc.SlackBuild')
-rw-r--r--system/openrc/openrc.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/openrc/openrc.SlackBuild b/system/openrc/openrc.SlackBuild
index c32e6799cd3c..ea33861b2c73 100644
--- a/system/openrc/openrc.SlackBuild
+++ b/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[@]}"