summaryrefslogtreecommitdiffstats
path: root/graphics/lcms/files/Makefile.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lcms/files/Makefile.bsd')
-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 ef6e40a..46bfc1f 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
OpenPOWER on IntegriCloud