diff options
author | agc <agc@pkgsrc.org> | 1999-12-07 08:50:49 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-12-07 08:50:49 +0000 |
commit | 0a4280ecbc8939085b72325ea8ecf9f2a1cf0ee0 (patch) | |
tree | ac7b4e6c19cba40bd40ee639c6a360e64a7e3d93 /www | |
parent | 09e493efa0de8870181cb7466e53dcc2a665e7bf (diff) | |
download | pkgsrc-0a4280ecbc8939085b72325ea8ecf9f2a1cf0ee0.tar.gz |
Make this package compile on Solaris.
Diffstat (limited to 'www')
-rw-r--r-- | www/wwwoffle/Makefile | 6 | ||||
-rw-r--r-- | www/wwwoffle/files/patch-sum | 4 | ||||
-rw-r--r-- | www/wwwoffle/patches/patch-aa | 17 |
3 files changed, 21 insertions, 6 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile index d2690fa895f..668c056d132 100644 --- a/www/wwwoffle/Makefile +++ b/www/wwwoffle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 1999/11/26 06:30:10 itohy Exp $ +# $NetBSD: Makefile,v 1.12 1999/12/07 08:50:49 agc Exp $ DISTNAME= wwwoffle-2.5b CATEGORIES= www @@ -25,6 +25,10 @@ BUILD_DEFS+= USE_INET6 PATCHDIR= ${WRKDIR}/.patches .endif +.if ${OPSYS} == "SunOS" +MAKE_ENV+= LIBRARY="-lnsl -lsocket" +.endif + pre-patch: .if defined(USE_INET6) && ${USE_INET6} == YES ${MKDIR} ${WRKDIR}/.patches diff --git a/www/wwwoffle/files/patch-sum b/www/wwwoffle/files/patch-sum index 0a57d34eab1..623e244e7f6 100644 --- a/www/wwwoffle/files/patch-sum +++ b/www/wwwoffle/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.5 1999/11/30 03:53:29 itohy Exp $ +$NetBSD: patch-sum,v 1.6 1999/12/07 08:50:50 agc Exp $ -MD5 (patch-aa) = 2f8dab0f46e80bfa5d9a05172354b62d +MD5 (patch-aa) = ab2df42869748c73b1b69c430646b7ed MD5 (patch-ab) = 290bc5f165fc2cd7afe5bce775cbf58d MD5 (patch-ba) = 697b7cad9f1cd82c4b74da1317f4f987 MD5 (patch-bb) = 06fd1d3b05e51f2594d97c4213b897ae diff --git a/www/wwwoffle/patches/patch-aa b/www/wwwoffle/patches/patch-aa index 09fcd16da24..8acb380b52d 100644 --- a/www/wwwoffle/patches/patch-aa +++ b/www/wwwoffle/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.5 1999/11/26 06:09:01 itohy Exp $ +$NetBSD: patch-aa,v 1.6 1999/12/07 08:50:50 agc Exp $ ---- Makefile.orig Sun Oct 10 23:31:50 1999 -+++ Makefile Thu Nov 25 20:00:34 1999 +--- Makefile.orig Sun Oct 10 15:31:50 1999 ++++ Makefile Tue Nov 30 14:24:28 1999 @@ -16,9 +16,9 @@ LOCALHOST=localhost:8080 @@ -31,6 +31,17 @@ $NetBSD: patch-aa,v 1.5 1999/11/26 06:09:01 itohy Exp $ # For HP/UX this is a good idea. #LDFLAGS= +@@ -55,8 +55,8 @@ + + ######## + +-INCLUDE= +-LIBRARY= ++#INCLUDE= ++#LIBRARY= + + # For Solaris you need the following instead. + #LIBRARY=-lnsl -lsocket @@ -272,13 +272,13 @@ $(INSTALL) -c -m 644 wwwoffle.conf.man.install $(INSTDIR)/man/man5/wwwoffle.conf.5 [ -x $(INSTDIR)/man/man8 ] || $(INSTALL) -d $(INSTDIR)/man/man8 |