]> git.pld-linux.org Git - packages/epic4.git/commitdiff
- remove broken perl misdetection auto/th/epic4-2.10.6-4
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 26 Aug 2022 07:36:11 +0000 (09:36 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 26 Aug 2022 07:36:11 +0000 (09:36 +0200)
epic4.spec
perl-config.patch [new file with mode: 0644]

index 4c915849f21e99eb18f0afe7cf876cbb773d71ae..e5f190bb91591a5f8feba6259a94589faec0e48e 100644 (file)
@@ -14,6 +14,7 @@ Patch0:               %{name}-DESTDIR.patch
 Patch1:                %{name}-gethostname_is_in_libc_aka_no_libnsl.patch
 Patch2:                %{name}-config_file_path.patch
 Patch3:                gcc10.patch
+Patch4:                perl-config.patch
 URL:           http://www.epicsol.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -39,6 +40,7 @@ program wykorzystywany do łączenia się z serwerami IRC na całym
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__aclocal}
diff --git a/perl-config.patch b/perl-config.patch
new file mode 100644 (file)
index 0000000..1b516dd
--- /dev/null
@@ -0,0 +1,25 @@
+--- epic4-2.10.6/configure.in~ 2022-08-26 09:31:02.000000000 +0200
++++ epic4-2.10.6/configure.in  2022-08-26 09:34:48.375184978 +0200
+@@ -639,20 +639,12 @@
+ [  --with-perl[=PATH]       Compile with perl support.],
+ [ test -z "$withval" && withval=yes ],
+ )
+-test "xno" != "x$withval" && for base in $withval /usr/local /usr /
+-do
+-      FOUND=
+-      for ext in so a dll ; do
+-              test -r $base/lib/libperl.$ext && FOUND=1
+-              test -r $base/libperl.$ext && FOUND=1
+-      done
+-      test -n "$FOUND" || continue
++if test "xno" != "x$withval"; then
+       AC_MSG_RESULT(yes)
+       LIBS="$LIBS `perl -MExtUtils::Embed -e ldopts`"
+       PERLDOTOH="perl.o"
+       AC_DEFINE(PERL)
+-      break
+-done
++fi
+ test -z "$PERLDOTOH" && AC_MSG_RESULT(no)
+ withval=''
This page took 0.085487 seconds and 4 git commands to generate.