29 lines
1.6 KiB
Plaintext
29 lines
1.6 KiB
Plaintext
$OpenBSD: patch-PerlMagick_Makefile_PL,v 1.6 2005/06/28 18:08:23 naddy Exp $
|
|
--- PerlMagick/Makefile.PL.orig Mon Jun 27 10:55:55 2005
|
|
+++ PerlMagick/Makefile.PL Mon Jun 27 10:58:52 2005
|
|
@@ -44,13 +44,13 @@ WriteMakefile
|
|
'DEFINE' => ' -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H', # e.g., '-DHAVE_SOMETHING'
|
|
|
|
# Header search specfication and preprocessor flags
|
|
- 'INC' => '-I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/graphviz -I/usr/include/libxml2',
|
|
+ 'INC' => '-I../ -I.. -I%%X11BASE%%/include -I%%X11BASE%%/include/X11',
|
|
|
|
# C pre-processor flags (e.g. -I & -D options)
|
|
# 'CPPFLAGS' => "$Config{'cppflags'} -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/graphviz -I/usr/include/libxml2",
|
|
|
|
# C compiler flags (e.g. -O -g)
|
|
- 'CCFLAGS' => "$Config{'ccflags'} -O3 -g -Wall -pthread",
|
|
+ 'CCFLAGS' => "$Config{'ccflags'} -O2 -Wall",
|
|
|
|
# Linker flags for building an executable
|
|
'LDFLAGS' => "-L/usr/lib $Config{'ldflags'}",
|
|
@@ -62,7 +62,7 @@ WriteMakefile
|
|
'INSTALLBIN' => '/usr/bin',
|
|
|
|
# Library specification
|
|
- 'LIBS' => ['-L/usr/lib -lMagick -L/usr/X11R6/lib -L/usr/lib/graphviz -lfreetype -lz -L/usr/lib -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -ldotneato -lz -lpthread -lm -lpthread'],
|
|
+ 'LIBS' => ['-L%%LOCALBASE%%/lib -lMagick -ljbig -llcms -ltiff -L%%X11BASE%%/lib -lfreetype -ljasper -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -liconv -lz -lm'],
|
|
|
|
# Perl binary name (if a Perl binary is built)
|
|
'MAP_TARGET' => 'PerlMagick',
|