1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Link libpng library with libm, because it uses some math functions from it.

This should fix GNOME breakage introduced in the previous commit.

Prompted by:	Anders Andersson <anders@hack.org>
This commit is contained in:
Maxim Sobolev 2002-05-18 10:48:06 +00:00
parent a320d6dbeb
commit 2895ffa02d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59424
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= png
PORTVERSION= 1.2.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://www.libpng.org/pub/png/src/ \
ftp://swrinde.nde.swri.edu/pub/png/src/ \

View File

@ -22,6 +22,8 @@ MAN= libpng.3 libpngpf.3 png.5
MANDIR= /man/man
SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \
libpng/pngconf.h ${INCSDIR}/../pngconf.h
LDADD+= -lm
DPADD+= ${LIBM}
CFLAGS+= -I. -DPNG_USE_PNGGCCRD
.if (${ARCH} != "i386")