This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygport bug


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

I had to make this patch in order to use perl_postinst from the git
cygport instructions.

2006-11-27  Eric Blake  <ebb9@byu.net>

	* perl.cygclass (perl_postinst): Don't assume PERL_VENDORLIB
	exists.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFavJ984KuGfSFAYARAjgUAJ96iZdE/PffXorEkovS47eD496jwgCguzNd
/qZNE2wPDiFySLr47Oc1q9U=
=KWA8
-----END PGP SIGNATURE-----
--- /usr/lib/cygport/lib/perl.cygclass.orig	2006-11-27 07:05:30.115969000 -0700
+++ /usr/lib/cygport/lib/perl.cygclass	2006-11-27 07:09:06.350344000 -0700
@@ -108,7 +108,9 @@
 			_EOF
 	fi
 
-	find ${D}${PERL_VENDORLIB} -name .packlist -exec sed -i -e "s:${D}::g" '{}' +
+	if test -d ${D}${PERL_VENDORLIB} ; then
+		find ${D}${PERL_VENDORLIB} -name .packlist -exec sed -i -e "s:${D}::g" '{}' +
+	fi
 }
 
 src_compile() {

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]