diff --git a/talimatname/genel/ocaml-lablgtk/talimat b/talimatname/genel/ocaml-lablgtk/talimat index 2b730cc38..cb2479e3c 100644 --- a/talimatname/genel/ocaml-lablgtk/talimat +++ b/talimatname/genel/ocaml-lablgtk/talimat @@ -11,10 +11,9 @@ source=(https://forge.ocamlcore.org/frs/download.php/1627/$name-$version.tar.gz) build() { cd ${_name}-$version - export LD_LIBRARY_PATH=/usr/lib/ocaml/stublibs/:${LD_LIBRARY_PATH} + export LD_LIBRARY_PATH=/usr/lib/ocaml/stublibs/:/usr/lib/ocaml/:${LD_LIBRARY_PATH} ./configure \ - --with-libdir=/usr/lib/ocaml/stublibs/ \ --prefix=/usr \ --libdir=/usr/lib \ --build=$ARCH-milis-linux \ @@ -27,12 +26,9 @@ build() { make -j1 world #make DESTDIR=$PKG install - make install BINDIR="$PKG/usr/bin/" \ - LIBDIR="$PKG/usr/lib/ocaml/" \ - DDLDIR="$PKG/usr/lib/ocaml/stublibs/" \ - INSTALLDIR="$PKG/usr/lib/ocaml/lablgtk2/" - + make install BINDIR="$PKG/usr/bin/" mkdir -p "$PKG/usr/lib/ocaml/stublibs" + mv /usr/lib/ocaml/site-lib/lablgtk2 "$PKG/usr/lib/ocaml/" cp src/dlllablglade2.so "$PKG/usr/lib/ocaml/stublibs/" cp src/dlllablgtk2.so "$PKG/usr/lib/ocaml/stublibs/" cp src/dlllablgtksourceview2.so "$PKG/usr/lib/ocaml/stublibs/"