From a9aa41a3d0e5d6864c934701944798950919c90c Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 9 Feb 2006 08:53:05 +0000 Subject: [PATCH] Fix libpng-config Submitted by: Jo Rhett --- graphics/png/Makefile | 2 +- graphics/png/files/patch-aa | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 5089ef4821bb..6d7cae7ec623 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -7,7 +7,7 @@ PORTNAME= png PORTVERSION= 1.2.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lib${PORTNAME} diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa index fea253b6a945..c95568d485f3 100644 --- a/graphics/png/files/patch-aa +++ b/graphics/png/files/patch-aa @@ -38,11 +38,11 @@ +libpng-config: + ( cat scripts/libpng-config-head.in; \ + echo prefix=\"${PREFIX}\"; \ -+ echo libdir=\"${PREFIX}${LIBDIR}\"; \ ++ echo libdir=\"${LIBDIR}\"; \ + echo ccopts=\"${ccopts}\"; \ + echo cppflags=\"${cppflags}\"; \ -+ echo I_opts=\"-I${PREFIX}${INCSDIR}\"; \ -+ echo L_opts=\"-L${PREFIX}${LIBDIR}\"; \ ++ echo I_opts=\"-I${INCSDIR}\"; \ ++ echo L_opts=\"-L${LIBDIR}\"; \ + echo libs=\"-lpng -lz -lm\"; \ + echo ldopts=\"${ldopts}\"; \ + cat scripts/libpng-config-body.in ) > libpng-config