Commit 2cf02b0
0
plików
+0
dodanych
-0
usuniętych
@@ -442,19 +442,22 @@ footprint_easytag_zh: |
442
442
build: |
443
443
cd ${pkgname}-${pkgver}
444
444
445
- # Wymuś wersję przez makro w CFLAGS
446
- export CFLAGS="${CFLAGS} -DID3LIB_VERSION=\\\"3.8.3\\\" -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error"
447
- export CXXFLAGS="${CXXFLAGS} -DID3LIB_VERSION=\\\"3.8.3\\\" -std=c++11 -fpermissive -Wno-error"
445
+ export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error"
446
+ export CXXFLAGS="${CXXFLAGS} -std=c++11 -fpermissive -Wno-error"
448
447
export LDFLAGS="${LDFLAGS} -lstdc++"
449
448
450
- # Pomijamy całkowicie sprawdzanie id3lib
451
- sed -i '/checking the id3lib version/,/AC_MSG_ERROR/d' configure
452
- sed -i '/if test -z "$id3_cv_version"/d' configure
449
+ # ============================================
450
+ # 💀 ROZWIĄZANIE TOTALNE
451
+ # ============================================
452
+ # Usuń całe sprawdzanie id3lib z configure
453
453
sed -i '/AC_MSG_ERROR.*id3lib version/d' configure
454
+ sed -i '/checking the id3lib version/,/fi/d' configure
454
455
455
- # Ustaw wersję na sztywno
456
- echo 'id3_cv_version="3.8.3"' >> configure
457
-
456
+ # Wymuś wersję
457
+ export id3_cv_version="3.8.3"
458
+ export ac_cv_id3lib_version="3.8.3"
459
+ # ============================================
460
+
458
461
./configure --prefix=/usr \
459
462
--disable-schemas-compile
460
463