- don't link with libpthread, fixes a crashing issue.

- use MASTER_SITE_BACKUP
- new MAINTAINER, Dan Brosemer <odin at svartalfheim dot net>
This commit is contained in:
brad 2004-04-13 00:50:45 +00:00
parent 145a5e937b
commit 5a434e9d59
2 changed files with 16 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2004/01/17 15:58:08 naddy Exp $
# $OpenBSD: Makefile,v 1.3 2004/04/13 00:50:45 brad Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
@ -6,9 +6,9 @@ COMMENT= "object-oriented Perl interface to ImageMagick"
VERSION= 5.2.9
DISTNAME= ImageMagick-${VERSION}
PKGNAME= p5-PerlMagick-${VERSION}
PKGNAME= p5-PerlMagick-${VERSION}p1
CATEGORIES= graphics devel
MASTER_SITES= ftp://openbsd.comstyle.com/pub/brad/source/
MASTER_SITES= ${MASTER_SITE_BACKUP}
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
@ -16,7 +16,7 @@ BUILD_DEPENDS= :ImageMagick-${VERSION}:graphics/ImageMagick
RUN_DEPENDS= :ImageMagick-${VERSION}:graphics/ImageMagick
LIB_DEPENDS= Magick.5::graphics/ImageMagick
MAINTAINER= Sam Smith <s@msmith.net>
MAINTAINER= Dan Brosemer <odin@svartalfheim.net>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-PerlMagick_Makefile_PL,v 1.1 2004/04/13 00:50:46 brad Exp $
--- PerlMagick/Makefile.PL.orig 2004-04-07 11:53:27.000000000 -0400
+++ PerlMagick/Makefile.PL 2004-04-07 11:53:44.000000000 -0400
@@ -6,7 +6,7 @@ use Config;
WriteMakefile(
'NAME' => 'Image::Magick',
'VERSION_FROM' => 'Magick.pm', # finds $VERSION
- 'LIBS' => ['-L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/home/cristy/ImageMagick/magick -lMagick -ltiff -lfreetype -ljpeg -lpng -lfpx -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lpthread -lm'],
+ 'LIBS' => ['-L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/home/cristy/ImageMagick/magick -lMagick -ltiff -lfreetype -ljpeg -lpng -lfpx -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lm'],
'DEFINE' => '-DHAVE_CONFIG_H', # e.g., '-DHAVE_SOMETHING'
'INC' => '-I../ -I.. -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/X11R6/include',
($Config{'archname'} =~ /-object$/i ? ('CAPI' => 'TRUE') : ()),