diff options
author | Jason Wever <weeve@gentoo.org> | 2003-12-27 00:03:49 +0000 |
---|---|---|
committer | Jason Wever <weeve@gentoo.org> | 2003-12-27 00:03:49 +0000 |
commit | 2d31b1178a346ebd0b99e2c536e83be2c97c5395 (patch) | |
tree | c7a54e4dd051c12a8dcea5f42f1894500a91ff4e /sys-apps/ucspi-unix | |
parent | Added linux-headers 2.6.0 support. (diff) | |
download | gentoo-2-2d31b1178a346ebd0b99e2c536e83be2c97c5395.tar.gz gentoo-2-2d31b1178a346ebd0b99e2c536e83be2c97c5395.tar.bz2 gentoo-2-2d31b1178a346ebd0b99e2c536e83be2c97c5395.zip |
Added ~sparc keyword and a patch for 0.36 to fix the change in head syntax.
Diffstat (limited to 'sys-apps/ucspi-unix')
-rw-r--r-- | sys-apps/ucspi-unix/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/ucspi-unix/Manifest | 7 | ||||
-rw-r--r-- | sys-apps/ucspi-unix/files/ucspi-unix-gentoo-head.patch | 33 | ||||
-rw-r--r-- | sys-apps/ucspi-unix/ucspi-unix-0.34.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild | 12 |
5 files changed, 54 insertions, 8 deletions
diff --git a/sys-apps/ucspi-unix/ChangeLog b/sys-apps/ucspi-unix/ChangeLog index fa219bd62bea..8cb92ff0a23b 100644 --- a/sys-apps/ucspi-unix/ChangeLog +++ b/sys-apps/ucspi-unix/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/ucspi-unix # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ChangeLog,v 1.6 2003/04/23 21:11:29 sethbc Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ChangeLog,v 1.7 2003/12/27 00:03:39 weeve Exp $ + + 26 Dec 2003; Jason Wever <weeve@gentoo.org> ucspi-unix-0.34.ebuild, + ucspi-unix-0.36.ebuild, files/ucspi-unix-gentoo-head.patch: + Added ~sparc keyword and a patch for 0.36 to fix the change in head syntax. *ucspi-unix-0.36 (23 Apr 2003) diff --git a/sys-apps/ucspi-unix/Manifest b/sys-apps/ucspi-unix/Manifest index f64f3f52d762..22b049930024 100644 --- a/sys-apps/ucspi-unix/Manifest +++ b/sys-apps/ucspi-unix/Manifest @@ -1,6 +1,7 @@ -MD5 15d643a0c9d1c9d854c3acebcc22acbb ChangeLog 656 +MD5 4bfcffee938579d210f66fd8acebc4d5 ChangeLog 866 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 071c9ae5f4e4fd815d70e70186b648a2 ucspi-unix-0.34.ebuild 610 -MD5 3b78e0b79bae147b8589b81e53d35a6d ucspi-unix-0.36.ebuild 826 +MD5 83b89f220658329e00bda80027335da5 ucspi-unix-0.34.ebuild 615 +MD5 2585f651a62df31cc32ef4ca63c21d94 ucspi-unix-0.36.ebuild 950 MD5 e0fc8a98fedb5d900457d5aed2bed98b files/digest-ucspi-unix-0.34 66 MD5 c396752e0797bbc620084ed823f71f3d files/digest-ucspi-unix-0.36 66 +MD5 d394904cc3e745742643933bc090d382 files/ucspi-unix-gentoo-head.patch 1097 diff --git a/sys-apps/ucspi-unix/files/ucspi-unix-gentoo-head.patch b/sys-apps/ucspi-unix/files/ucspi-unix-gentoo-head.patch new file mode 100644 index 000000000000..fa360e53c1f1 --- /dev/null +++ b/sys-apps/ucspi-unix/files/ucspi-unix-gentoo-head.patch @@ -0,0 +1,33 @@ +--- ucspi-unix-0.36/Makefile.orig 2003-12-26 18:50:34.000000000 -0500 ++++ ucspi-unix-0.36/Makefile 2003-12-26 18:50:56.000000000 -0500 +@@ -18,18 +18,18 @@ + ( echo '#!/bin/sh'; \ + echo 'source=$$1; shift'; \ + echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \ +- echo exec `head -1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \ ++ echo exec `head -n 1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \ + ) >compile + chmod 755 compile + + conf_bin.c: conf-bin +- head -1 conf-bin | \ ++ head -n 1 conf-bin | \ + sed -e 's/"/\\"/g' \ + -e 's/^/const char conf_bin[] = "/' \ + -e 's/$$/";/' >conf_bin.c + + conf_man.c: conf-man +- head -1 conf-man | \ ++ head -n 1 conf-man | \ + sed -e 's/"/\\"/g' \ + -e 's/^/const char conf_man[] = "/' \ + -e 's/$$/";/' >conf_man.c +@@ -55,7 +55,7 @@ + load: conf-ld + ( echo '#!/bin/sh';\ + echo 'main="$$1"; shift';\ +- echo exec `head -1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\ ++ echo exec `head -n 1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\ + ) >load + chmod 755 load + diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.34.ebuild b/sys-apps/ucspi-unix/ucspi-unix-0.34.ebuild index cd04cbe7d20f..0363e267db95 100644 --- a/sys-apps/ucspi-unix/ucspi-unix-0.34.ebuild +++ b/sys-apps/ucspi-unix/ucspi-unix-0.34.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ucspi-unix-0.34.ebuild,v 1.9 2003/06/21 21:19:41 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ucspi-unix-0.34.ebuild,v 1.10 2003/12/27 00:03:39 weeve Exp $ S=${WORKDIR}/${P} DESCRIPTION="A ucspi implementation for unix sockets." SRC_URI="http://untroubled.org/ucspi-unix/${P}.tar.gz" HOMEPAGE="http://untroubled.org" -KEYWORDS="x86 amd64" +KEYWORDS="x86 amd64 ~sparc" SLOT="0" LICENSE="GPL-2" diff --git a/sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild b/sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild index ab96f4b0e676..98d0bd51bb7c 100644 --- a/sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild +++ b/sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild,v 1.3 2003/09/10 04:40:14 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-unix/ucspi-unix-0.36.ebuild,v 1.4 2003/12/27 00:03:39 weeve Exp $ S=${WORKDIR}/${P} DESCRIPTION="A ucspi implementation for unix sockets." @@ -8,10 +8,18 @@ SRC_URI="http://untroubled.org/ucspi-unix/${P}.tar.gz" DEPEND=">=dev-libs/bglibs-1.009" HOMEPAGE="http://untroubled.org/ucspi-unix/" -KEYWORDS="x86 amd64" +KEYWORDS="x86 amd64 ~sparc" SLOT="0" LICENSE="GPL-2" +src_unpack() { + unpack ${A} + + # Fix for head syntax in Makefile + cd ${S} + epatch ${FILESDIR}/${PN}-gentoo-head.patch +} + src_compile() { echo "gcc ${CFLAGS} -I/usr/lib/bglibs/include" > conf-cc echo "gcc -s -L/usr/lib/bglibs/lib" > conf-ld |