From ea7aa1b5788c3348fac857b2ac4ef5bace5475f5 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 28 Jan 2016 08:38:01 +0200 Subject: desktop/notion: Fix lookup PREFIX installation. Signed-off-by: Dimitris Zlatanidis --- desktop/notion/notion.SlackBuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'desktop/notion/notion.SlackBuild') diff --git a/desktop/notion/notion.SlackBuild b/desktop/notion/notion.SlackBuild index a632f938b4f4..eb6e9d7aedf6 100644 --- a/desktop/notion/notion.SlackBuild +++ b/desktop/notion/notion.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for notion -# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=notion SRCVER=${SRCVER:-3-2015061300} VERSION=$(echo $SRCVER | tr - _) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix notion lookup PREFIX installation +if [ "$ARCH" = "x86_64" ]; then + patch -p1 < $CWD/system64.patch +else + patch -p1 < $CWD/system.patch +fi + make make install \ OPTS="$SLKCFLAGS" \ -- cgit v1.2.3