SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
34
editors/subtitleeditor/patches/patch-configure_ac
Normal file
34
editors/subtitleeditor/patches/patch-configure_ac
Normal file
|
@ -0,0 +1,34 @@
|
|||
From 5e9525c41272e850cbba0f65ce5809e5167880f2 Mon Sep 17 00:00:00 2001
|
||||
From: kitone <kitone@free.fr>
|
||||
Date: Tue, 31 Jul 2018 19:37:01 +0200
|
||||
Subject: [PATCH] Fix #13: Compiling - enchant dependency not met when enchant-2 is installed
|
||||
|
||||
From 1dd00d036344f72ab8d647d3f5614940c95e2384 Mon Sep 17 00:00:00 2001
|
||||
From: Nikolay Shaplov <dhyan@nataraj.su>
|
||||
Date: Sat, 30 Nov 2019 20:57:57 +0300
|
||||
Subject: [PATCH] Fix build with old version of enchant, take two
|
||||
|
||||
Index: configure.ac
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -74,10 +74,17 @@ AC_SUBST(GTKMM_LIBS)
|
||||
# =========================================================================
|
||||
# check enchant
|
||||
|
||||
-PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0)
|
||||
+PKG_CHECK_MODULES(ENCHANT2, enchant-2 >= 2.2.0, have_enchant_2=yes, have_enchant_2=no)
|
||||
|
||||
-AC_SUBST(ENCHANT_CFLAGS)
|
||||
-AC_SUBST(ENCHANT_LIBS)
|
||||
+if test "x$have_enchant_2" = "xyes"; then
|
||||
+ ENCHANT_CFLAGS=$ENCHANT2_CFLAGS
|
||||
+ ENCHANT_LIBS=$ENCHANT2_LIBS
|
||||
+ AC_SUBST(ENCHANT_CFLAGS)
|
||||
+ AC_SUBST(ENCHANT_LIBS)
|
||||
+
|
||||
+else
|
||||
+ PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0)
|
||||
+fi
|
||||
|
||||
# =========================================================================
|
||||
# check libxml++
|
Loading…
Add table
Add a link
Reference in a new issue