Subject: pkg/19159: buildlink2: shell quoting problem with _USE_RPATH=no
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/25/2002 19:36:01
>Number:         19159
>Category:       pkg
>Synopsis:       buildlink2: shell quoting problem with _USE_RPATH=no
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 00:35:00 PST 2002
>Originator:     grant beattie
>Release:        Darwin 6.2
Darwin max 6.2 Darwin Kernel Version 6.2: Tue Nov  5 22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh
On Darwin, _USE_RPATH=no. This causes buildlink2 to break the
mm-config script installed by devel/libmm:

/usr/pkg/bin/mm-config: line 57: syntax error near unexpected token `(2'
/usr/pkg/bin/mm-config: line 57: `mm_version="1.2.1 (28-Jul-2002)"'

The variable on line 55 is missing a closing double quote.

mm_ldflags=" -L/usr/pkg/lib

This can be easily reproduced by forcing _USE_RPATH=no.
set _USE_RPATH=no
cd devel/libmm; make install