mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
Revert "games-fps/crispy-doom: Fixed configure.ac overwriting CFLAGS and LDFLAGS"
Found a better fix.
This reverts commit 2aee9b2b00.
Signed-off-by: Abdelrahman Sarhan <abdulrahmanayman1@gmail.com>
This commit is contained in:
@@ -50,10 +50,6 @@ src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-makeopts.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-bash-completion \
|
||||
|
||||
@@ -43,10 +43,6 @@ DOCS=(
|
||||
"README.Strife.md"
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${P}"-makeopts.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
--- a/configure.ac 2024-10-21 18:54:07.483980753 -0400
|
||||
+++ b/configure.ac 2024-10-21 18:54:52.224330577 -0400
|
||||
@@ -166,8 +166,10 @@
|
||||
|
||||
# TODO: We currently link everything against libraries that don't need it.
|
||||
# Use the specific library CFLAGS/LIBS variables instead of setting them here.
|
||||
-CFLAGS="$CFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${LIBZ_CFLAGS:-}"
|
||||
-LDFLAGS="$LDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${LIBZ_LIBS:-}"
|
||||
+UCFLAGS:=$(shell emerge --info | grep CFLAGS=".*" | cut -d'"' -f2)
|
||||
+ULDFLAGS:=$(shell emerge --info | grep LDFLAGS=".*" | cut -d'"' -f2)
|
||||
+CFLAGS+="$UCFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${LIBZ_CFLAGS:-}"
|
||||
+LDFLAGS+="$ULDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${LIBZ_LIBS:-}"
|
||||
case "$host" in
|
||||
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
|
||||
LDFLAGS="$LDFLAGS -lwinmm"
|
||||
@@ -1,15 +0,0 @@
|
||||
--- a/configure.ac 2023-03-31 16:42:24.000000000 -0400
|
||||
+++ b/configure.ac 2024-10-21 19:11:20.577093421 -0400
|
||||
@@ -184,8 +184,10 @@
|
||||
|
||||
# TODO: We currently link everything against libraries that don't need it.
|
||||
# Use the specific library CFLAGS/LIBS variables instead of setting them here.
|
||||
-CFLAGS="$CFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${FLUIDSYNTH_CFLAGS:-} ${LIBZ_CFLAGS:-}"
|
||||
-LDFLAGS="$LDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${FLUIDSYNTH_LIBS:-} ${LIBZ_LIBS:-}"
|
||||
+UCFLAGS:=$(shell emerge --info | grep CFLAGS=".*" | cut -d'"' -f2)
|
||||
+ULDFLAGS:=$(shell emerge --info | grep LDFLAGS=".*" | cut -d'"' -f2)
|
||||
+CFLAGS+="$UCFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${LIBZ_CFLAGS:-}"
|
||||
+LDFLAGS+="$ULDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${LIBZ_LIBS:-}"
|
||||
case "$host" in
|
||||
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
|
||||
LDFLAGS="$LDFLAGS -lwinmm"
|
||||
Reference in New Issue
Block a user