OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 16-Dec-2002 16:28:37
Branch: HEAD Handle: 2002121615283600
Modified files:
openpkg-src/sa sa.spec
Log:
make --with_ex a package option
Summary:
Revision Changes Path
1.13 +11 -3 openpkg-src/sa/sa.spec
____________________________________________________________________________
Index: openpkg-src/sa/sa.spec
============================================================
$ cvs diff -u -r1.12 -r1.13 sa.spec
--- openpkg-src/sa/sa.spec 4 Dec 2002 19:48:48 -0000 1.12
+++ openpkg-src/sa/sa.spec 16 Dec 2002 15:28:36 -0000 1.13
@@ -22,6 +22,9 @@
## SUCH DAMAGE.
##
+# package options
+%{!?with_ex: %define with_ex no}
+
# package information
Name: sa
Summary: Socket Abstraction Library
@@ -32,7 +35,7 @@
Group: System
License: MIT/X11-style
Version: 1.0.2
-Release: 20021204
+Release: 20021216
# list of sources
Source0: ftp://ftp.ossp.org/pkg/lib/sa/sa-%{version}.tar.gz
@@ -40,8 +43,11 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20020206, ex
-PreReq: OpenPKG, openpkg >= 20020206, ex
+BuildPreReq: OpenPKG, openpkg >= 20020206
+PreReq: OpenPKG, openpkg >= 20020206
+%if "%{with_ex}" == "yes"
+BuildPreReq: ex
+%endif
AutoReq: no
AutoReqProv: no
@@ -55,7 +61,9 @@
CFLAGS="%{l_cflags -O}" \
./configure \
--prefix=%{l_prefix} \
+%if "%{with_ex}" == "yes"
--with-ex=%{l_prefix} \
+%endif
--disable-shared
%{l_make} %{l_mflags -O}
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]