summaryrefslogtreecommitdiff
path: root/graphics/png/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-18 10:48:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-18 10:48:06 +0000
commit2895ffa02dd6e0e10473ea825b764285549b2c07 (patch)
tree21023af6de1dfc0b95467a683b20747d098191ba /graphics/png/files
parentUpgrade to a 18-May-2002 GCC 3.2 in-development checkout. (diff)
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>
Notes
Notes: svn path=/head/; revision=59424
Diffstat (limited to 'graphics/png/files')
-rw-r--r--graphics/png/files/makefile.freebsd2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/png/files/makefile.freebsd b/graphics/png/files/makefile.freebsd
index 4ce6a2170b2c..6b2dd459d9c3 100644
--- a/graphics/png/files/makefile.freebsd
+++ b/graphics/png/files/makefile.freebsd
@@ -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")