mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
system/cndrvcups-common: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d07d6631fc
commit
b4d39049e4
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 20220209 bkw: Modified by SlackBuilds.org, fix build on 15.0.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=cndrvcups-common
|
||||
|
@ -79,6 +81,8 @@ 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 {} \;
|
||||
|
||||
SLKCFLAGS+=" -fcommon"
|
||||
|
||||
(
|
||||
cd buftool
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
@ -90,8 +94,10 @@ find -L . \
|
|||
make install DESTDIR=$PKG
|
||||
)
|
||||
|
||||
# 20220209 bkw: for some reason this wasn't picking up the libs it needs...
|
||||
(
|
||||
cd cngplp
|
||||
LIBS="$( pkg-config --libs glib-2.0 gmodule-2.0 gtk+-2.0 )" \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./autogen.sh \
|
||||
|
|
Loading…
Reference in a new issue