Make this package compile on Solaris.
This commit is contained in:
parent
09e493efa0
commit
0a4280ecbc
3 changed files with 21 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue