aboutsummaryrefslogtreecommitdiff
path: root/graphics/lcms
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2004-02-06 06:54:29 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2004-02-06 06:54:29 +0000
commit631f7409413c6ef8f9bc6c45777058d951488706 (patch)
tree7843259a70940f0109d7670cb033d8b803b61cad /graphics/lcms
parent472beb5144ea3dcb6e1bfa30966028a05f8d39d2 (diff)
downloadports-631f7409413c6ef8f9bc6c45777058d951488706.tar.gz
ports-631f7409413c6ef8f9bc6c45777058d951488706.zip
Better way to resolve ldscripts issue.
Pointed by: marcus
Notes
Notes: svn path=/head/; revision=100112
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