OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 24-Mar-2003 12:23:51
Branch: HEAD Handle: 2003032411235001
Modified files:
openpkg-src/spegla spegla.spec
openpkg-web news.txt
Log:
speclint police and fix building
Summary:
Revision Changes Path
1.8 +7 -4 openpkg-src/spegla/spegla.spec
1.3794 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/spegla/spegla.spec
============================================================================
$ cvs diff -u -r1.7 -r1.8 spegla.spec
--- openpkg-src/spegla/spegla.spec 3 Jan 2003 11:43:09 -0000 1.7
+++ openpkg-src/spegla/spegla.spec 24 Mar 2003 11:23:51 -0000 1.8
@@ -33,7 +33,7 @@
Group: Network
License: BSD
Version: 1.1p4
-Release: 20030103
+Release: 20030324
# package options
%option with_ipv6 no
@@ -61,14 +61,17 @@
%setup -q
%patch0 -p0
%patch1 -p0
- cp regex/*.[ch] .
%build
cp Makefile.linux Makefile
%{l_shtool} subst \
-e 's;gcc;$(CC);' \
- -e 's;^\(OBJS[ ]*=\);\1 regcomp.o regerror.o regexec.o regfree.o;' \
+ -e 's;^\(OBJS[ ]*=\);\1 regex/regcomp.o regex/regerror.o regex/regexec.o
regex/regfree.o;' \
Makefile
+ for name in regex/regcomp regex/regerror regex/regexec regex/regfree; do
+ echo "$name.o: $name.c" >>Makefile
+ echo " \$(CC) \$(CFLAGS) -o $name.o $name.c \$(DEFS)" >>Makefile
+ done
CC="%{l_cc}"
CFLAGS="%{l_cflags -O} -c"
%if "%{with_ipv6}" == "yes"
@@ -80,7 +83,7 @@
case "%{l_target}" in
*-freebsd* ) DEFS="$DEFS -DFREEBSD"; LDFLAGS="$LDFLAGS -lcompat" ;;
*-linux* ) DEFS="$DEFS -DLINUX" ;;
- *-solaris* ) DEFS="$DEFS -DSolaris -DMTYPES-DPROGNAME=\\\"spegla\\\"" ;;
+ *-solaris* ) DEFS="$DEFS -DSolaris -DMTYPES -DNOCDEFS
-DPROGNAME=\\\"spegla\\\"" ;;
esac
%{l_make} %{l_mflags -O} \
CC="$CC" CFLAGS="$CFLAGS" DEFS="$DEFS" LDFLAGS="$LDFLAGS"
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.3793 -r1.3794 news.txt
--- openpkg-web/news.txt 24 Mar 2003 11:20:56 -0000 1.3793
+++ openpkg-web/news.txt 24 Mar 2003 11:23:50 -0000 1.3794
@@ -1,3 +1,4 @@
+24-Mar-2003: Upgraded package: P<spegla-1.1p4-20030324>
24-Mar-2003: Upgraded package: P<rxvt-2.7.9-20030324>
24-Mar-2003: Upgraded package: P<rt-2.0.15-20030324>
24-Mar-2003: Upgraded package: P<python-2.2.2-20030324>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]