diff options
author | cjep <cjep> | 2002-12-27 14:36:01 +0000 |
---|---|---|
committer | cjep <cjep> | 2002-12-27 14:36:01 +0000 |
commit | 5b4533bea1fcf0aef107ebad9c9e13d8216adf73 (patch) | |
tree | a1aa581b8fb499974d90b557e2b18986b1295aa2 /www/cgilib | |
parent | b4c4e0cc5667d651b51df02badc5e05067b16199 (diff) | |
download | pkgsrc-5b4533bea1fcf0aef107ebad9c9e13d8216adf73.tar.gz |
Make this package build on SunOS.
Diffstat (limited to 'www/cgilib')
-rw-r--r-- | www/cgilib/Makefile | 8 | ||||
-rw-r--r-- | www/cgilib/distinfo | 4 | ||||
-rw-r--r-- | www/cgilib/patches/patch-ab | 22 |
3 files changed, 21 insertions, 13 deletions
diff --git a/www/cgilib/Makefile b/www/cgilib/Makefile index 9ab6af2fef9..6b40cca7d42 100644 --- a/www/cgilib/Makefile +++ b/www/cgilib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/08/10 13:59:33 skrll Exp $ +# $NetBSD: Makefile,v 1.7 2002/12/27 14:36:01 cjep Exp $ # DISTNAME= cgilib-0.5 @@ -14,4 +14,10 @@ USE_LIBTOOL= yes USE_RMAN= yes +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == "SunOS") +MAKE_FLAGS+= NROFF="man -l" +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/www/cgilib/distinfo b/www/cgilib/distinfo index 34740981c59..44616994a6a 100644 --- a/www/cgilib/distinfo +++ b/www/cgilib/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2002/08/10 13:59:33 skrll Exp $ +$NetBSD: distinfo,v 1.7 2002/12/27 14:36:02 cjep Exp $ SHA1 (cgilib-0.5.tar.gz) = 3ba65e9fac43b875427a126ebbaaa6155e9692df Size (cgilib-0.5.tar.gz) = 13991 bytes SHA1 (patch-aa) = 9b92cde49f84a22d53044b230b05798dc90085ef -SHA1 (patch-ab) = 88d77ac0d8604deefc1213ff14ba13988af2ab4a +SHA1 (patch-ab) = ee15b5f4afd45725e58209f7a0560cfefd22d5a6 SHA1 (patch-ac) = 0f3929094024de5357d97b00abb9bd12cdd2fbc8 SHA1 (patch-ad) = 94b9179073afd4494258ac72fed2d275415fb67d 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: |