I'd normally just create a .patch file and apply it with patches=[], but
this seems like an active project (new release yesterday), so you might
consider fixing up the Makefile to accept command line overrides and then
submitting a pull request.

--Kevin


On Fri, Mar 4, 2022 at 7:58 AM Loris Bennett <[email protected]>
wrote:

> Hi,
>
> I am looking at the program FORCE[1], which has no configure script,
> just a Makefile, so  I am currently using ConfigureMake and skipping the
> configure step.
>
> In the Makefile there is the following:
>
>   # Installation directory
>   BINDIR=/home/loris/local/bin
>
>   # Libraries
>   GDAL=-I/usr/include/gdal -L/usr/lib -Wl,-rpath=/usr/lib
>   GSL=-I/usr/include/gsl -L/usr/lib/x86_64-linux-gnu
> -Wl,-rpath=/usr/lib/x86_64-linux-gnu -DHAVE_INLINE=1 -DGSL_RANGE_CHECK=0
>   CURL=-I/usr/include/curl -L/usr/lib/x86_64-linux-gnu
> -Wl,-rpath=/usr/lib/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/curl
> -L/usr/lib/x86_64-linux-gnu -Wl,-rpath=/usr/lib/x86_64-linux-gnu
>   OPENCV=-I/usr/local/include/opencv4 -L/usr/local/lib
> -Wl,-rpath=/usr/local/lib
>
> Is there any easy way to handle such hardcoded paths within the
> EasyConfig?
>
> Cheers,
>
> Loris
>
> Footnotes:
> [1]
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_davidfrantz_force&d=DwIFaQ&c=dWz0sRZOjEnYSN4E4J0dug&r=CeTe0BPEDnKoTTMxXtYeZw&m=yYNqEcJhXYe6gZGb_yFeRHTQzFqhCPESNBZ__CFFbW2F48HwAeBCaR7gE5vizl8C&s=kzZ96Mvm5xUxLS7xHR7zmmIirXg96LcPcOIRMQKgMIY&e=
>
> --
> Dr. Loris Bennett (Herr/Mr)
> ZEDAT, Freie Universität Berlin         Email [email protected]
>

Reply via email to