Skip to content

Commit

Permalink
CONFIGURE: Fix MacPort detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Oct 22, 2011
1 parent da96afe commit 245281c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -1869,7 +1869,7 @@ case $_host_os in
# There is no way to get the prefix, so implementing a hack here
macport_version=`port version 2>/dev/null`
if test "$?" -eq 0; then
macport_version="`echo "${macport_version}" | sed -ne 's/Version: \([0-9]\.[0-9]\.[0-9]\)/\1/gp'sed -ne 's/Version: \([0-9]\.[0-9]\.[0-9]\)/\1/gp'`"
macport_version="`echo "${macport_version}" | sed -ne 's/Version: \([0-9]\.[0-9]\.[0-9]\)/\1/gp'`"
echo_n "You seem to be running MacPorts version ${macport_version}..."

macport_prefix=`which port`
Expand Down

0 comments on commit 245281c

Please sign in to comment.