aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/lcms
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-02-06 14:54:29 +0800
committerbland <bland@FreeBSD.org>2004-02-06 14:54:29 +0800
commit24c9d4290e888f4aa3043ac2ca0b0517a3a0a656 (patch)
tree8a6e0e36622f2d418e02a37e81e4ca2a47c94a7f /graphics/lcms
parent4c2c8fadbbec6b8085cbf641d82494401901f96a (diff)
downloadfreebsd-ports-gnome-24c9d4290e888f4aa3043ac2ca0b0517a3a0a656.tar.gz
freebsd-ports-gnome-24c9d4290e888f4aa3043ac2ca0b0517a3a0a656.tar.zst
freebsd-ports-gnome-24c9d4290e888f4aa3043ac2ca0b0517a3a0a656.zip
Better way to resolve ldscripts issue.
Pointed by: marcus
Diffstat (limited to 'graphics/lcms')
-rw-r--r--graphics/lcms/files/Makefile.bsd3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/lcms/files/Makefile.bsd b/graphics/lcms/files/Makefile.bsd
index ef6e40af6b60..46bfc1f27a42 100644
--- a/graphics/lcms/files/Makefile.bsd
+++ b/graphics/lcms/files/Makefile.bsd
@@ -9,8 +9,7 @@ NOPROFILE=YES
INCS= ${.CURDIR}/../include/lcms.h ${.CURDIR}/../include/icc34.h
CFLAGS+= -I${.CURDIR}/../include
-LDFLAGS+= -L/usr/lib # for 4.x bsd.lib.mk
-LDFLAGS+= -lm
+LDADD+= -lm
INCSDIR=${LOCALBASE}/include
INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk