Port version difficulties (maybe one for the Python crowd)

Greg Larkin glarkin at FreeBSD.org
Mon Dec 7 22:12:10 UTC 2009


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

Kevin Golding wrote:
> In article <4B1D617A.6020303 at FreeBSD.org>, Greg Larkin
> <glarkin at 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-----



More information about the freebsd-ports mailing list