summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-10-23 07:36:32 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-10-23 07:36:32 +0000
commita531c44d982b783c91870d1d69db27188e3daa2e (patch)
tree1dbc7695ae72a1c8f975ef4929daca91fb106f8d
parentSubmitted by: maintainer (diff)
Add -fPIC to cflags which hopefulle fixes amd64
Tested on: i386 Submitted by: bento via kris
Notes
Notes: svn path=/head/; revision=91937
-rw-r--r--graphics/p5-Image-Imlib2/files/patch-Build.PL14
1 files changed, 11 insertions, 3 deletions
diff --git a/graphics/p5-Image-Imlib2/files/patch-Build.PL b/graphics/p5-Image-Imlib2/files/patch-Build.PL
index b5689945c284..abc5c8f09183 100644
--- a/graphics/p5-Image-Imlib2/files/patch-Build.PL
+++ b/graphics/p5-Image-Imlib2/files/patch-Build.PL
@@ -1,6 +1,14 @@
---- Build.PL.orig Thu Sep 11 15:09:42 2003
-+++ Build.PL Thu Sep 11 15:09:48 2003
-@@ -30,7 +30,7 @@
+--- Build.PL.orig Sun Aug 31 17:15:33 2003
++++ Build.PL Thu Oct 23 09:31:34 2003
+@@ -21,6 +21,7 @@
+
+ my $libs = `$CONFIG --libs`;
+ my $cflags = `$CONFIG --cflags`;
++$cflags .= ' -fPIC';
+
+ my $build = Module::Build->new(
+ module_name => 'Image::Imlib2',
+@@ -30,7 +31,7 @@
'Test::More' => '0.01',
},
extra_linker_flags => $libs,