-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 16 January 2004 17:29, Frank R Callaghan wrote:
> Ok two questions,
> 1) how do we get this version included in the portage tree ?

Add a bug to http://bugs.gentoo.org/

> 2) I did as you suggested but the build failed :-
> plinux # cp /usr/portage/sys-cluster/drbd/drbd-0.6.6-r2.ebuild
> /usr/local/portage/sys-cluster/drbd/drbd-0.6.10.ebuild
> plinux # ebuild /usr/local/portage/sys-cluster/drbd/drbd-0.6.10.ebuild
> digest

/usr/portage/sys-cluster/drbd/files/0.6.10-Makefile.vars.patch is attached

Then change the ebuild like:

src_unpack() {
    unpack ${A}
    cd ${S}
    epatch ${FILESDIR}/0.6.10-Makefile.vars.patch
#   epatch ${FILESDIR}/0.6.6-drbd-Makefile.patch
    epatch ${FILESDIR}/0.6.6-scripts-Makefile.patch
}

I only fixed the errors during unpacking, I've no way to test it!

Good luck.

- -- 
Mike Williams
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFACEP1InuLMrk7bIwRAqOBAJ0U/jRwx5ImaNfaTl93+rOK4+qqMACeNffh
uTRYmo1fPUlgiLXrIOftgiI=
=9U30
-----END PGP SIGNATURE-----
--- Makefile.vars.orig	2004-01-16 19:48:31.196580304 +0000
+++ Makefile.vars	2004-01-16 19:54:29.963039512 +0000
@@ -23,7 +23,7 @@
 # export all variables not explicitly _un_exported
 export
 
-PREFIX          := /
+#PREFIX          := /
 
 CC           	:= gcc
 USERFLAGS    	:= -Wall $(DEBUGFLAGS)
@@ -43,7 +43,8 @@
   $(if $(wildcard /etc/redhat-release),redhat,\
   $(if $(wildcard /etc/slackware-version),slackware,\
   $(if $(wildcard /etc/ROCK-VERSION),rock,\
-  $(if $(wildcard /var/lib/YaST*),suse,))))))
+  $(if $(wildcard /var/lib/YaST*),suse,\
+  $(if $(wildcard /etc/gentoo-release),gentoo,)))))))
 
 SUBDIRS = user documentation scripts benchmark drbd #testing
 

--
[EMAIL PROTECTED] mailing list

Reply via email to