Projects
Mega:23.03
ncurses
_service:tar_scm:ncurses-config.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:ncurses-config.patch of Package ncurses
diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in index a45dd54..8527305 100644 --- a/misc/gen-pkgconfig.in +++ b/misc/gen-pkgconfig.in @@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ]; then fi lib_flags= -for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@ +for opt in -L$libdir @LIBS@ do case $opt in -l*) # LIBS is handled specially below diff --git a/misc/ncurses-config.in b/misc/ncurses-config.in index 7b02ac2..b64379f 100644 --- a/misc/ncurses-config.in +++ b/misc/ncurses-config.in @@ -41,7 +41,6 @@ exec_prefix="@exec_prefix@" bindir="@bindir@" includedir="@includedir@" -libdir="@libdir@" datarootdir="@datarootdir@" datadir="@datadir@" mandir="@mandir@" @@ -101,7 +100,7 @@ fi # There is no portable way to find the list of standard library directories. # Require a POSIX shell anyway, to keep this simple. lib_flags= -for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ $LIBS +for opt in $LIBS do case $opt in -specs*) # ignore linker specs-files which were used to build library @@ -117,13 +116,13 @@ do lib_check=`echo "x$opt" | sed -e 's/^.-L//'` [ -d "$lib_check" ] || continue case "$lib_check" in - @LD_SEARCHPATH@) # skip standard libdir + ////) # skip standard libdir (disabled for multilib) if [ "$lib_check" = "$libdir" ] then lib_first=yes IFS_save="$IFS" IFS='|' - LIBDIRS="@LD_SEARCHPATH@" + LIBDIRS="" for lib_check in $LIBDIRS do if [ -d "$lib_check" ] @@ -271,7 +270,6 @@ ENDECHO echo "$INCS" ;; --libdir) - echo "${libdir}" ;; --mandir) echo "${mandir}" -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2