pkgsrc-Users archive

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

(textproc/icu) DSO_LIBDIR is empty



Hi, 
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 
`/export/CHROOT/usr/pkgsrc/textproc/icu/work/icu/source/stubdata'
  /bin/sh ../mkinstalldirs 
/export/CHROOT/usr/pkgsrc/textproc/icu/work/.destdir/usr/pkg/lib
  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 
/export/CHROOT/usr/pkgsrc/textproc/icu/work/.destdir/usr/pkg/lib
  /usr/bin/install -c -s -o makoto -g users -m 755 libicudata.so.51.2 
  usage: install [-Ubcprs] [-M log] [-D dest] [-T tags] [-B suffix]

     ... (omitted)...

  gmake[1]: *** [install-library] Error 1
  gmake[1]: Leaving directory 
`/export/CHROOT/usr/pkgsrc/textproc/icu/work/icu/source/stubdata'
  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
 CONFIGURE_ENV+=                U_MAKE=${TOOLS_GMAKE}
+MAKE_ENV+=             DSO_LIBDIR=${DESTDIR}${PREFIX}/lib
 
 .include "../../mk/pthread.buildlink3.mk"
 


Home | Main Index | Thread Index | Old Index