aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-02-06 01:18:06 +0800
committerbland <bland@FreeBSD.org>2004-02-06 01:18:06 +0800
commited26b95698da90c75e3537d453b35883e15aa067 (patch)
treec7dd7aa09cb5693a6daf1cecc7bf10986f69d48b /graphics
parent22459b8518ca14402afc7eaac87ffa8bbc9dd0f4 (diff)
downloadfreebsd-ports-graphics-ed26b95698da90c75e3537d453b35883e15aa067.tar.gz
freebsd-ports-graphics-ed26b95698da90c75e3537d453b35883e15aa067.tar.zst
freebsd-ports-graphics-ed26b95698da90c75e3537d453b35883e15aa067.zip
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.
Diffstat (limited to 'graphics')
-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 b99b56172c7..c737966f63c 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 b94018812f8..6023d76d87a 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