1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix libpng-config

Submitted by:   Jo Rhett <jrhett@svcolo.com>
This commit is contained in:
Andrey A. Chernov 2006-02-09 08:53:05 +00:00
parent 4a0991ad9d
commit a9aa41a3d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155564
2 changed files with 4 additions and 4 deletions

View File

@ -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}

View File

@ -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