Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for config:x86_64
openSUSE:Backports:SLE-15-SP1:Update
iptraf
build-use-wide-version-of-lpanel-when-needed.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build-use-wide-version-of-lpanel-when-needed.patch of Package iptraf
From: Vitezslav Samel <vitezslav@samel.cz> Date: Thu, 17 Apr 2014 14:24:25 +0200 Subject: build: use wide version of -lpanel when needed Patch-mainline: yes Git-commit: 1a009a230aacaa87d24fe75a257ffe8d57313116 References: bnc#940207 When linking with -lncurses[56]w we need to link with -lpanelw. Signed-off-by: Vitezslav Samel <vitezslav@samel.cz> Signed-off-by: Nikola Pajkovsky <n.pajkovsky@gmail.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> --- Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 958b0fbeec0f..59b7c6f90298 100644 --- a/Makefile +++ b/Makefile @@ -218,7 +218,7 @@ ifdef NEEDS_NCURSESW5 NCURSES_CFLAGS := $(shell ncursesw5-config --cflags 2>/dev/null) NCURSES_LDFLAGS := $(shell ncursesw5-config --libs 2>/dev/null) ifndef NO_PANEL - NCURSES_LDFLAGS += -lpanel + NCURSES_LDFLAGS += -lpanelw endif endif endif @@ -238,7 +238,7 @@ ifdef NEEDS_NCURSESW6 NCURSES_CFLAGS := $(shell ncursesw6-config --cflags 2>/dev/null) NCURSES_LDFLAGS := $(shell ncursesw6-config --libs 2>/dev/null) ifndef NO_PANEL - NCURSES_LDFLAGS += -lpanel + NCURSES_LDFLAGS += -lpanelw endif endif endif @@ -248,21 +248,27 @@ ifndef NCURSES_LDFLAGS ifneq ($(shell ncursesw6-config --libs 2>/dev/null),) NCURSES_CFLAGS := $(shell ncursesw6-config --cflags 2>/dev/null) NCURSES_LDFLAGS := $(shell ncursesw6-config --libs 2>/dev/null) + ifndef NO_PANEL + NCURSES_LDFLAGS += -lpanelw + endif else ifneq ($(shell ncurses6-config --libs 2>/dev/null),) NCURSES_CFLAGS := $(shell ncurses6-config --cflags 2>/dev/null) NCURSES_LDFLAGS := $(shell ncurses6-config --libs 2>/dev/null) + ifndef NO_PANEL + NCURSES_LDFLAGS += -lpanel + endif else ifneq ($(shell ncursesw5-config --libs 2>/dev/null),) NCURSES_CFLAGS := $(shell ncursesw5-config --cflags 2>/dev/null) NCURSES_LDFLAGS := $(shell ncursesw5-config --libs 2>/dev/null) + ifndef NO_PANEL + NCURSES_LDFLAGS += -lpanelw + endif else ifneq ($(shell ncurses5-config --libs 2>/dev/null),) NCURSES_CFLAGS := $(shell ncurses5-config --cflags 2>/dev/null) NCURSES_LDFLAGS := $(shell ncurses5-config --libs 2>/dev/null) - endif - - ifneq ($(NCURSES_LDFLAGS),) - ifndef NO_PANEL - NCURSES_LDFLAGS += -lpanel - endif + ifndef NO_PANEL + NCURSES_LDFLAGS += -lpanel + endif endif endif -- 2.5.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor