summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-09-20 19:21:21 +0000
committerkim <kim@pkgsrc.org>1999-09-20 19:21:21 +0000
commit47f71f430d0d18027b34d01e55ca7adebdfbe4b9 (patch)
treeebf7e2bf0424b357aaea037e6f8de18895b9d538
parent13248c7fadd979cf749a4381f11e3832bc3c80c1 (diff)
downloadpkgsrc-47f71f430d0d18027b34d01e55ca7adebdfbe4b9.tar.gz
Support for Solaris.
-rw-r--r--news/nntpclnt/Makefile8
-rw-r--r--news/nntpclnt/files/config.SunOS.sh77
2 files changed, 83 insertions, 2 deletions
diff --git a/news/nntpclnt/Makefile b/news/nntpclnt/Makefile
index 810ba59cb40..1a2ee6e56db 100644
--- a/news/nntpclnt/Makefile
+++ b/news/nntpclnt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/07/29 22:37:35 tron Exp $
+# $NetBSD: Makefile,v 1.8 1999/09/20 19:21:21 kim Exp $
#
DISTNAME= nntpclnt-1.6.1
@@ -11,8 +11,12 @@ CONFLICTS+= inn-*
ALL_TARGET= inews
+.include "../../mk/bsd.prefs.mk"
+
+CONFIG_SH= ${FILESDIR}/config.${OPSYS}.sh
+
do-configure:
- ${SED} -e s,@PREFIX@,${PREFIX}, ${FILESDIR}/config.sh >${WRKSRC}/config.sh
+ ${SED} -e s,@PREFIX@,${PREFIX}, ${CONFIG_SH} >${WRKSRC}/config.sh
@cd ${WRKSRC} && sh Makefile.SH && sh config.h.SH
post-build:
diff --git a/news/nntpclnt/files/config.SunOS.sh b/news/nntpclnt/files/config.SunOS.sh
new file mode 100644
index 00000000000..0d789c8c666
--- /dev/null
+++ b/news/nntpclnt/files/config.SunOS.sh
@@ -0,0 +1,77 @@
+#!/bin/sh
+# config.sh
+# This file was produced by running the Configure script.
+
+n=''
+c='\c'
+libc='/usr/lib/libc.a'
+eunicefix=':'
+eunice='undef'
+cpp='gcc -pipe -E'
+shsharp='true'
+startsh='#!/bin/sh'
+spitshell='cat'
+test='test'
+expr='expr'
+sed='sed'
+echo='echo'
+cat='cat'
+rm='rm'
+cp='cp'
+tr='tr'
+mkdir='mkdir'
+inews='inews'
+grep='grep'
+chmod='chmod'
+awk='awk'
+egrep='/usr/bin/egrep'
+nidump='/bin/cat'
+ypmatch='/bin/cat'
+jobslib=''
+contains='grep'
+lib='@PREFIX@/etc'
+libexp='@PREFIX@/etc'
+nametype='bsd'
+cc='gcc -pipe'
+iandd=''
+include='-DUSG'
+socketlib='-lsocket -lnsl'
+posix=''
+nonetdb='undef'
+internet=''
+filexp=''
+dotdir='define'
+strncasecmp='define'
+strcasecmp='define'
+seteuid='define'
+sitename=''
+hostfile='@PREFIX@/etc/nntp/domainname'
+domain=''
+isadmin='undef'
+newsadmin='root'
+novoid='undef'
+mansrc='@PREFIX@/man/man1'
+manext='1'
+rootid='0'
+strchr='define'
+memcpy='define'
+sunos4='undef'
+solaris='define'
+portable='define'
+passnam='define'
+berknam='define'
+usgnam='undef'
+whoami='undef'
+getpwent='define'
+gethostname='undef'
+douname='undef'
+phostname='undef'
+hostcmd=''
+serverfile='@PREFIX@/etc/nntp/server'
+auth='define'
+authsimple='define'
+authold='define'
+passfile='@PREFIX@/etc/nntp/server.auth'
+decnet='undef'
+datakit='undef'
+CONFIG=true