From: Greg Larkin on 7 Dec 2009 17:12 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Golding wrote: > In article <4B1D617A.6020303(a)FreeBSD.org>, Greg Larkin > <glarkin(a)FreeBSD.org> writes >> This might get you further: >> >> fbsd70# make -V \ >> PYDISTUTILS_PKGVERSION:C/\(\[\[:digit:\]\]\.\[\[:digit:\]\]\)\./\\1_/g >> 0.1_0 >> fbsd70# > > Well that does indeed work in that context, but I have no idea why it > appears to do nothing in the Makefile. It seems completely unchanged: > > pkg_delete: unexec command for '/usr/local/bin/easy_install-2.6 -q -m -S > /usr/local/lib/python2.6/site-packages django-signals-ahoy==0.1.0' > failed > > I actually had to double check I did indeed update the correct file. A > bit strange anyway. > > Kevin Hi Kevin, There's a lot more backslash escaping required in the :C suffix above when running the make command directly in the shell. If you remove some of the backslashes in the equivalent line in the Makefile, should be all set. Then you can check to make it's working by running "make -V PYEASYINSTALL_UNINSTALLARGS". Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLHX2y0sRouByUApARAtlfAKCAAAG98WbUZimB3THbHkNfivB5bgCgw+kK TMJOhrlCn7/zIbvvipYHSc4= =v7JF -----END PGP SIGNATURE----- _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Kevin Golding on 7 Dec 2009 17:33 In article <4B1D7DB3.60507(a)FreeBSD.org>, Greg Larkin <glarkin(a)FreeBSD.org> writes >There's a lot more backslash escaping required in the :C suffix above >when running the make command directly in the shell. If you remove some >of the backslashes in the equivalent line in the Makefile, should be all >set. Then you can check to make it's working by running "make -V >PYEASYINSTALL_UNINSTALLARGS". So there is, guess I'm getting sleepy. It all seems to work, but I should probably wait for the morning and test it more carefully when I'm more awake before I get too cocky. But! That part works which is much appreciated. Cheers, Kevin _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Peter Pentchev on 11 Dec 2009 13:14 On Mon, Dec 07, 2009 at 05:12:03PM -0500, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Kevin Golding wrote: > > In article <4B1D617A.6020303(a)FreeBSD.org>, Greg Larkin > > <glarkin(a)FreeBSD.org> writes > >> This might get you further: > >> > >> fbsd70# make -V \ > >> PYDISTUTILS_PKGVERSION:C/\(\[\[:digit:\]\]\.\[\[:digit:\]\]\)\./\\1_/g > >> 0.1_0 > >> fbsd70# > > > > Well that does indeed work in that context, but I have no idea why it > > appears to do nothing in the Makefile. It seems completely unchanged: > > > > pkg_delete: unexec command for '/usr/local/bin/easy_install-2.6 -q -m -S > > /usr/local/lib/python2.6/site-packages django-signals-ahoy==0.1.0' > > failed > > > > I actually had to double check I did indeed update the correct file. A > > bit strange anyway. > > > > Kevin > > Hi Kevin, > > There's a lot more backslash escaping required in the :C suffix above > when running the make command directly in the shell. If you remove some > of the backslashes in the equivalent line in the Makefile, should be all > set. Then you can check to make it's working by running "make -V > PYEASYINSTALL_UNINSTALLARGS". A bit off-topic, and a bit late, but you can avoid the need for those additional backslashes by simply placing the string in apostrophes (single quotes). It's the shell that tries to interpret the string before passing it to "make" itself, and the single quotes tell the shell to not even try to interpret the string. So, just do: make -V 'PYDISTUTILS_PKGVERSION:C/([[:digit:]]\.[[:digit:]])\./\1_/g' ...and you'll see what make(1) thinks of the quoted string, just as if you'd put it in the Makefile. G'luck, Peter -- Peter Pentchev roam(a)ringlet.net roam(a)space.bg roam(a)FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 .siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI
First
|
Prev
|
Pages: 1 2 Prev: FreeBSD Port: php5-5.2.11_1 upgrade path to 5.3.0/1 Next: FreeBSD Port: memcached-1.4.1 |