summaryrefslogtreecommitdiff
path: root/comms/pilot-link/Makefile.common
diff options
context:
space:
mode:
authormarkd <markd>2002-10-30 10:16:44 +0000
committermarkd <markd>2002-10-30 10:16:44 +0000
commit60e6bf6e09882877eff0d355e1e40e75765c8a9f (patch)
treed63d7ce6a242d2e88471424a00717126f81877c4 /comms/pilot-link/Makefile.common
parent82a830b5656ae7871b51978874b5e308a26a27d8 (diff)
downloadpkgsrc-60e6bf6e09882877eff0d355e1e40e75765c8a9f.tar.gz
On Solaris iconv() is in libc.
Diffstat (limited to 'comms/pilot-link/Makefile.common')
-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