summaryrefslogtreecommitdiff
path: root/graphics/lcms
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2004-02-05 17:18:06 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2004-02-05 17:18:06 +0000
commit9b88285b3a8114cacd1ae2ad23b061d7f6cd0afa (patch)
tree976318af0da4332dd80ace60aca6cd4dcb18135b /graphics/lcms
parentUpgrade shorewall-1.130-1. (diff)
Shared library make use of -lm symbols therefore must be linked against it.
Otherwise we get unresolved references error at the time linking this library into objects w/o -lm dependency. This was the reason why color proof module in gimp-devel was not built.
Notes
Notes: svn path=/head/; revision=100063
Diffstat (limited to 'graphics/lcms')
-rw-r--r--graphics/lcms/Makefile1
-rw-r--r--graphics/lcms/files/Makefile.bsd1
2 files changed, 2 insertions, 0 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile
index b99b56172c72..c737966f63ca 100644
--- a/graphics/lcms/Makefile
+++ b/graphics/lcms/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lcms
PORTVERSION= 1.09
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
diff --git a/graphics/lcms/files/Makefile.bsd b/graphics/lcms/files/Makefile.bsd
index b94018812f88..6023d76d87a1 100644
--- a/graphics/lcms/files/Makefile.bsd
+++ b/graphics/lcms/files/Makefile.bsd
@@ -9,6 +9,7 @@ NOPROFILE=YES
INCS= ${.CURDIR}/../include/lcms.h ${.CURDIR}/../include/icc34.h
CFLAGS+= -I${.CURDIR}/../include
+LDFLAGS+= -lm
INCSDIR=${LOCALBASE}/include
INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk