1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/graphics/p5-Imager/Makefile
Lars Balker Rasmussen e759b9c409 Fix freetype1 compilation issue.
Tony Cook (Imager author) wrote regarding the PR:

 This is a conflict between the freetype 1.x and freetype 2.x headers,
 and can be reproduced by installing freetype 1.3 port (print/freetype)
 before attempting to build graphics/p5-Imager.

 Imager can be built with both sets of headers, but the p5-Imager ports
 Makefile incorrectly sets IM_INCPATH to point at the freetype 2.x
 freetype.h directory, causing the conflict.

 If you remove IM_INCPATH from the Makefile p5-Imager will build
 correctly.

No revision-bump needed - it either installed fine or not at all before.

PR:		130420
Submitted by:	Peter Vereshagin <peter@vereshagin.org>
2009-01-31 13:56:14 +00:00

33 lines
737 B
Makefile

# ex:ts=8
# New ports collection makefile for: p5-Imager
# Date created: Jul 24, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= Imager
PORTVERSION= 0.67
PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lbr@FreeBSD.org
COMMENT= A Perl module for manipulating gray, color and rgba format images
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
jpeg:${PORTSDIR}/graphics/jpeg \
png:${PORTSDIR}/graphics/png \
t1:${PORTSDIR}/devel/t1lib \
tiff:${PORTSDIR}/graphics/tiff \
ungif:${PORTSDIR}/graphics/libungif
PERL_CONFIGURE= 5.8.0+
CONFIGURE_ENV= IM_LIBPATH="${LOCALBASE}/lib" \
IM_CFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
.include "Makefile.man"
.include <bsd.port.mk>