append svn revision to port version

Bradley Giesbrecht pixilla at
Fri Dec 9 12:42:53 PST 2011

I use port from trunk and I update trunk regularly. I do not know a how to find what revision of trunk my port command was built from.

Is there any interest in adding the svn revision to the MACPORTS_VERSION when port is built from trunk?

I wrote a shell script "" and call it from configure to add "-$REVISION" when MACPORTS_VERSION  revision/patch-level is 99 and svn info is successful.
$ svn diff

Bradley Giesbrecht (pixilla)

More information about the macports-dev mailing list