2007-10-13 Laszlo (Laca) Peter <[email protected]>
authorlaca_
Sun, 14 Oct 2007 02:59:01 +0000
changeset 543 7e7850f73739
parent 542 a7cd8951bc6f
child 544 3c32a9eb7937
2007-10-13 Laszlo (Laca) Peter <[email protected]> * SFEfltk.spec: update source url * SFEalpine.spec: add patch CC.diff * patches/alpine-02-CC.diff: (new) patch for using $CC instead of /opt/SUNWspro/bin/cc
ChangeLog
SFEalpine.spec
SFEfltk.spec
patches/alpine-02-CC.diff
--- a/ChangeLog	Sun Oct 14 02:27:50 2007 +0000
+++ b/ChangeLog	Sun Oct 14 02:59:01 2007 +0000
@@ -1,3 +1,10 @@
+2007-10-13  Laszlo (Laca) Peter  <[email protected]>
+
+	* SFEfltk.spec: update source url
+	* SFEalpine.spec: add patch CC.diff
+	* patches/alpine-02-CC.diff: (new) patch for using $CC instead of
+	  /opt/SUNWspro/bin/cc
+
 2007-10-13  Laszlo (Laca) Peter  <[email protected]>
 
 	* SFEfltk.spec: add FOX build support
--- a/SFEalpine.spec	Sun Oct 14 02:27:50 2007 +0000
+++ b/SFEalpine.spec	Sun Oct 14 02:59:01 2007 +0000
@@ -12,6 +12,7 @@
 Version:             0.9999
 Source:              ftp://ftp.cac.washington.edu/alpine/alpine-%{version}.tar.bz2
 Patch1:              alpine-01-sunldap.diff
+Patch2:              alpine-02-CC.diff
 URL:                 http://www.washington.edu/alpine/
 SUNW_BaseDir:        %{_basedir}
 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
@@ -25,6 +26,7 @@
 %prep
 %setup -q -n alpine-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
@@ -81,5 +83,7 @@
 %{_mandir}/man1/*
 
 %changelog
+* Sat Oct 13 2007 - [email protected]
+- add patch for using $CC instead of /opt/SUNWspro/bin/cc
 * Mon Oct 08 2007 - [email protected]
 - Initial spec, should be friendly with SFEpine
--- a/SFEfltk.spec	Sun Oct 14 02:27:50 2007 +0000
+++ b/SFEfltk.spec	Sun Oct 14 02:59:01 2007 +0000
@@ -4,12 +4,11 @@
 # package are under the same license as the package itself.
 
 %include Solaris.inc
-%define tarball_version 1.1.7-source
 
 Name:                SFEfltk
 Summary:             A C++ user interface toolkit
 Version:             1.1.7
-Source:              ftp://ftp3.easysw.com/pub/fltk/1.1.7/fltk-%{tarball_version}.tar.gz
+Source:              http://ftp.easysw.com/pub/fltk/%{version}/fltk-%{version}-source.tar.bz2
 SUNW_BaseDir:        %{_basedir}
 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
 %include default-depend.inc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/alpine-02-CC.diff	Sun Oct 14 02:59:01 2007 +0000
@@ -0,0 +1,11 @@
+--- alpine-0.9999/imap/src/osdep/unix/Makefile.orig	2007-10-13 22:45:30.380182000 -0400
++++ alpine-0.9999/imap/src/osdep/unix/Makefile	2007-10-13 22:46:26.638792000 -0400
+@@ -713,7 +713,7 @@
+ 	 RSHPATH=/usr/bin/rsh \
+ 	 BASECFLAGS="-g -O -w" \
+ 	 BASELDFLAGS="-lsocket -lnsl -lgen" \
+-	 RANLIB=true CC=/opt/SUNWspro/bin/cc
++	 RANLIB=true CC=${CC}
+ 
+ 
+ # Note: It is a long and disgusting story about why cc is set to ucbcc.  You