summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2002-10-30 10:16:44 +0000
committermarkd <markd@pkgsrc.org>2002-10-30 10:16:44 +0000
commit0dae03fd2c9bb144ba91a73e8e76b8cc9ea15f46 (patch)
treed63d7ce6a242d2e88471424a00717126f81877c4 /comms
parenta2c48d5c8a6a8291dbb96d1cfb2dd39f1bb5a324 (diff)
downloadpkgsrc-0dae03fd2c9bb144ba91a73e8e76b8cc9ea15f46.tar.gz
On Solaris iconv() is in libc.
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