diff options
author | ache <ache@FreeBSD.org> | 2006-02-09 16:53:05 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2006-02-09 16:53:05 +0800 |
commit | 9f8a2a8e18b8a04ece02a61fba2e0ad73023df2e (patch) | |
tree | 9880bcdd4d0aeb6f25e4ec8be377e0954c69dbb6 /graphics/png | |
parent | 6cf80769e4cac152546437379a1ed23ca9108c0d (diff) | |
download | freebsd-ports-gnome-9f8a2a8e18b8a04ece02a61fba2e0ad73023df2e.tar.gz freebsd-ports-gnome-9f8a2a8e18b8a04ece02a61fba2e0ad73023df2e.tar.zst freebsd-ports-gnome-9f8a2a8e18b8a04ece02a61fba2e0ad73023df2e.zip |
Fix libpng-config
Submitted by: Jo Rhett <jrhett@svcolo.com>
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/Makefile | 2 | ||||
-rw-r--r-- | 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 |