pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(textproc/icu) DSO_LIBDIR is empty

I'm having follwing problem on textproc/icu-51.2
with NetBSD/amd64 6.1.1.

  make package
  ===> Installing for icu-51.2
  => Creating installation directories
  /usr/pkg/bin/gmake[0]: Making `install' in `stubdata'
  gmake[1]: Entering directory 
  /bin/sh ../mkinstalldirs 
  mkdir /export/CHROOT/usr/pkgsrc/textproc/icu/work/.destdir/usr/pkg/lib
  /usr/bin/install -c -s -o makoto -g users -m 755 libicudata.a 
  /usr/bin/install -c -s -o makoto -g users -m 755 
  usage: install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]

     ... (omitted)...

  gmake[1]: *** [install-library] Error 1
  gmake[1]: Leaving directory 
  gmake: *** [install-recursive] Error 2
  *** Error code 2
This is because DSO_LIBDIR is empty by some reason.
I have work around as attached (just to resolve dependency for others,
and this won't be a solution for other OSen, I am afraid).

Thanks for reading,
Makoto Fujiwara
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: textproc/icu/Makefile
RCS file: /cvs/cvsroot/pkgsrc/textproc/icu/Makefile,v
retrieving revision 1.85
diff -u -r1.85 Makefile
--- textproc/icu/Makefile       4 Oct 2013 18:26:29 -0000       1.85
+++ textproc/icu/Makefile       5 Oct 2013 10:58:11 -0000
@@ -19,6 +19,7 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-static
+MAKE_ENV+=             DSO_LIBDIR=${DESTDIR}${PREFIX}/lib
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index