APT-RPM in MacPorts

Anders F Björklund afb at macports.org
Wed Jul 11 03:47:06 PDT 2007


Ralf Corsepius wrote:

>> This would probably be best in the long-run,
>> or maybe even have it auto-detect <rpm/rpm.h> ?
> No, please don't do this.
>
> Letting users pass the appropriate CPPFLAGS/CXXFLAGS etc. to configure
> is the way to go.

We do pass -I/opt/local/include, the question was more whether
the "rpm" subdirectory should be detected - given such a prefix ?

But having an explicit option is probably most self-explaining:
"configure.args-append --with-rpm-include=${prefix}/include/rpm"

--anders




More information about the Apt-Rpm mailing list