瀏覽代碼

fix building of Perl bindings

Ralf S. Engelschall 17 年之前
父節點
當前提交
49265dae6c
共有 2 個文件被更改,包括 16 次插入4 次删除
  1. 15 3
      imagemagick/imagemagick.patch
  2. 1 1
      imagemagick/imagemagick.spec

+ 15 - 3
imagemagick/imagemagick.patch

@@ -1,7 +1,19 @@
+Index: PerlMagick/Makefile.PL.in
+--- PerlMagick/Makefile.PL.in.orig	2008-02-05 19:50:44 +0100
++++ PerlMagick/Makefile.PL.in	2008-04-03 16:08:07 +0200
+@@ -77,7 +77,7 @@
+    'INSTALLBIN'	=> '@BIN_DIR@',
+ 
+    # Library specification
+-   'LIBS'	=> [ '-L@MAGICKLIBDIR@ -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand' ],
++   'LIBS'	=> [ '-L@MAGICKLIBDIR@ -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand @LDFLAGS@ -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lbz2 -lxml2 -liconv -lz -lm' ],
+ 
+    # Perl binary name (if a Perl binary is built)
+    'MAP_TARGET'	=> 'PerlMagick',
 Index: configure
---- configure.orig	2007-12-13 09:34:07 +0100
-+++ configure	2007-12-13 10:17:10 +0100
-@@ -46724,7 +46724,7 @@
+--- configure.orig	2008-04-01 02:18:31 +0200
++++ configure	2008-04-03 16:05:00 +0200
+@@ -46399,7 +46399,7 @@
  # Append VALUE to the end of shell variable VAR.
  func_append ()
  {

+ 1 - 1
imagemagick/imagemagick.spec

@@ -38,7 +38,7 @@ Class:        BASE
 Group:        Graphics
 License:      GPL
 Version:      %{V_opkg}
-Release:      20080402
+Release:      20080403
 
 #   package options
 %option       with_perl   no