summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/pilot-link/Makefile.common10
1 files changed, 8 insertions, 2 deletions
diff --git a/comms/pilot-link/Makefile.common b/comms/pilot-link/Makefile.common
index 5e8763e3c01..ab1488168a2 100644
--- a/comms/pilot-link/Makefile.common
+++ b/comms/pilot-link/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2001/06/27 18:04:38 jlam Exp $
+# $NetBSD: Makefile.common,v 1.2 2002/10/30 10:16:44 markd Exp $
DISTNAME= pilot-link.${PILOT_LINK_VERS}
CATEGORIES= comms
@@ -15,8 +15,14 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/scripts/ltconfig
GNU_CONFIGURE= # defined
-CONFIGURE_ARGS+= --with-cpp
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= --without-libiconv
+.else
CONFIGURE_ARGS+= --with-libiconv
+.endif
+CONFIGURE_ARGS+= --with-cpp
CONFIGURE_ARGS+= --without-java
CONFIGURE_ARGS+= --without-itcl