mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 20:36:30 -04:00
20 lines
623 B
Text
20 lines
623 B
Text
--- configure.orig 2023-07-19 17:58:46 UTC
|
|
+++ configure
|
|
@@ -258,7 +258,7 @@ searchbin ocamlfind
|
|
if test $? -eq 1 && test $ocamlfind != "no"; then
|
|
instmeth='findlib'
|
|
if test "$installdir" = "auto"
|
|
- then installdir=`ocamlfind printconf destdir`; fi
|
|
+ then installdir=`ocamlfind printconf destdir | sed 's/:.*//'`; fi
|
|
else
|
|
searchbin install
|
|
if test $? -eq 1; then instmeth='install'
|
|
@@ -354,7 +354,7 @@ OCAMLINC=$mlinc
|
|
CFLAGS=$ccinc $ccdef $ccopt
|
|
LIBS=$cclib
|
|
LDFLAGS=$ldflags
|
|
-INSTALLDIR=$installdir
|
|
+INSTALLDIR=${DESTDIR}$installdir
|
|
INSTALL=install
|
|
OCAMLFIND=ocamlfind
|
|
INSTMETH=$instmeth
|