Building my 1st fink packages and I cannot for the life of me get Patch or PatchScript entries to be observed. Is there any mechanism to debug this situation? If I prevent the builddir from being removed, I can apply the patch successfully, by hand. Doesn't help too much.

The output of `sudo fink -v rebuild libapache-mod-midgard` does not mention any patchfiles -- it seems to be ignoring the entries in the info file completely.

The .info and .patch files look like:

$ cat libapache-mod-midgard.info
Package: libapache-mod-midgard
Version: 1.5.0
Revision: 1
Maintainer: Martin Langhoff <[EMAIL PROTECTED]>

Conflicts: libapache-mod-midgard (<< 1.5.0)
Replaces:  libapache-mod-midgard (<< 1.5.0)
Provides:  libapache-mod-midgard

BuildDepends: midgard-lib, libiconv-dev
Depends:      midgard-lib, libiconv

Source:http://midgard-project.org/midcom-serveattachmentguid-80246bc255da12ebec9cde450276d20e/mod_midgard-%v.tar.bz2
Source-MD5: 5f67a4d2320cf54eaefa6b7c00fe3e69
ConfigureParams: --with-apxs=/usr/sbin/apxs --with-midgard-config=/sw/bin/midgard-config
InstallScript: make install DESTDIR=%d
Patch: %n.patch
##PatchScript: sed -e 's,@FINKPREFIX@,%p,g' %a/%n.patch | patch -p0


Description: Modmidgard!
Homepage: http://www.midgard-project.org/
License: LGPL



$ cat libapache-mod-midgard.patch
diff -urN mod_midgard-1.5.0.orig/Makefile.in mod_midgard-1.5.0/Makefile.in
--- mod_midgard-1.5.0.orig/Makefile.in  Mon Jun 23 12:04:32 2003
+++ mod_midgard-1.5.0/Makefile.in       Sun May 30 02:50:44 2004
@@ -27,9 +27,11 @@

# install the shared object file into Apache
install: all
- $(APXS) -i -a -n 'midgard' mod_midgard.so
- $(INSTALL) -m 644 midgard-root.php3 `$(APXS) -q LIBEXECDIR`
- $(INSTALL) -m 644 midgard-root.php `$(APXS) -q LIBEXECDIR`
+ # will be done after install # $(APXS) -i -a -n 'midgard' mod_midgard.so
+ echo "Installing!"
+ $(INSTALL) -m 755 mod_midgard.so $(DESTDIR)/lib
+ $(INSTALL) -m 644 midgard-root.php3 $(DESTDIR)`$(APXS) -q LIBEXECDIR`
+ $(INSTALL) -m 644 midgard-root.php $(DESTDIR)`$(APXS) -q LIBEXECDIR`


 # set up the httpd.conf file for Midgard use
 conf:

thank you!






martin -- -- Martin Langhoff |||| http://nzl.com.ar/





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to