summaryrefslogtreecommitdiff
path: root/www/cgilib/patches
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-12-27 14:36:01 +0000
committercjep <cjep@pkgsrc.org>2002-12-27 14:36:01 +0000
commit42bf4ea4d1fab3d64d124d834591e910aff801e3 (patch)
treea1aa581b8fb499974d90b557e2b18986b1295aa2 /www/cgilib/patches
parent51cc09b275d0b98a8164fe80ba0631405c6b5c7d (diff)
downloadpkgsrc-42bf4ea4d1fab3d64d124d834591e910aff801e3.tar.gz
Make this package build on SunOS.
Diffstat (limited to 'www/cgilib/patches')
-rw-r--r--www/cgilib/patches/patch-ab22
1 files changed, 12 insertions, 10 deletions
diff --git a/www/cgilib/patches/patch-ab b/www/cgilib/patches/patch-ab
index 3fd02159f61..418f71a8850 100644
--- a/www/cgilib/patches/patch-ab
+++ b/www/cgilib/patches/patch-ab
@@ -1,12 +1,14 @@
-$NetBSD: patch-ab,v 1.6 2002/08/10 13:59:34 skrll Exp $
+$NetBSD: patch-ab,v 1.7 2002/12/27 14:36:02 cjep Exp $
--- Makefile.orig Fri Aug 20 22:14:07 1999
+++ Makefile
-@@ -14,30 +14,48 @@
+@@ -14,30 +14,50 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
-CFLAGS = -I. -Wall -O2 -g
++NROFF= nroff -mandoc
++
+CFLAGS += -I. -Wall -O2
LDFLAGS = -L.
-LIBS = -lcgi
@@ -46,21 +48,21 @@ $NetBSD: patch-ab,v 1.6 2002/08/10 13:59:34 skrll Exp $
htmlman:
for f in *.[35]; do \
- man -l $$f|rman -f HTML --title $$f -r "%s.%s.html" > $$f.html; \
-+ nroff -mandoc $$f|rman -f HTML --title $$f -r "%s.%s.html" > $$f.html; \
++ ${NROFF} $$f|rman -f HTML --title $$f -r "%s.%s.html" > $$f.html; \
done
+
+install:
+ -mkdir -p ${PREFIX}/libexec/cgi-bin
+ -mkdir -p ${PREFIX}/share/examples/cgilib
-+ install -c -m 444 cgitest.c ${PREFIX}/share/examples/cgilib
-+ install -c -m 444 jumpto.c ${PREFIX}/share/examples/cgilib
-+ ${LIBTOOL} --mode=install install -c -m 444 libcgi.la ${PREFIX}/lib
-+ ${LIBTOOL} --mode=install install -c -m 755 cgitest ${PREFIX}/libexec/cgi-bin
-+ ${LIBTOOL} --mode=install install -c -m 755 jumpto ${PREFIX}/libexec/cgi-bin
-+ install -c -m 444 cgi.h ${PREFIX}/include
++ ${INSTALL} -c -m 444 cgitest.c ${PREFIX}/share/examples/cgilib
++ ${INSTALL} -c -m 444 jumpto.c ${PREFIX}/share/examples/cgilib
++ ${LIBTOOL} --mode=install ${INSTALL} -c -m 444 libcgi.la ${PREFIX}/lib
++ ${LIBTOOL} --mode=install ${INSTALL} -c -m 755 cgitest ${PREFIX}/libexec/cgi-bin
++ ${LIBTOOL} --mode=install ${INSTALL} -c -m 755 jumpto ${PREFIX}/libexec/cgi-bin
++ ${INSTALL} -c -m 444 cgi.h ${PREFIX}/include
+ -mkdir -p ${PREFIX}/share/doc/html/cgilib
+ for i in *.html; do \
-+ install -c -m 444 $$i ${PREFIX}/share/doc/html/cgilib ; \
++ ${INSTALL} -c -m 444 $$i ${PREFIX}/share/doc/html/cgilib ; \
+ done
+
+clean: