summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2012-05-28 14:45:12 +0000
committergabor <gabor@FreeBSD.org>2012-05-28 14:45:12 +0000
commitd94838259507f93af78a52b5f4e40a813a2c376c (patch)
treecf8d0671868c041aaf689793249847644fb5df22
parentb9ef440fcd00fd63084145a507ed07fb7d055759 (diff)
downloadFreeBSD-src-d94838259507f93af78a52b5f4e40a813a2c376c.zip
FreeBSD-src-d94838259507f93af78a52b5f4e40a813a2c376c.tar.gz
- Include forgotten bsd.own.mk and fix condition
Reported by: Jan Beich <jbeich@tormail.org>
-rw-r--r--lib/libkiconv/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libkiconv/Makefile b/lib/libkiconv/Makefile
index 2f87f4b..ba88457 100644
--- a/lib/libkiconv/Makefile
+++ b/lib/libkiconv/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
LIB= kiconv
SHLIBDIR?= /lib
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
@@ -17,7 +19,7 @@ CFLAGS+= -I${.CURDIR}/../../sys
WARNS?= 1
-.if !defined(MK_ICONV)
+.if ${MK_ICONV} == "no"
CFLAGS+= -DICONV_DLOPEN
.endif
OpenPOWER on IntegriCloud