tech-pkg archive

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

pkgin again...



Hi...

I still can't build pkgin out of unchanged pkgsrc on Solaris 10. 
(tools.c:68 bla pointer bla int bla)

I have the impression that the nbcompat configure tests for strsep,
but the pkgin build does not? But it's mentioned in configure* ...
(I don't speak GNU autoconf, I'm afraid).

However, I've tracked it down to this workaround:


$NetBSD$

--- tools.h.orig        2010-01-23 16:10:54.000000000 +0000
+++ tools.h
@@ -70,7 +70,7 @@
 #include <sys/utsname.h>
 #endif
 
-#if WANT_NBCOMPAT_H /* needed for strsep on SunOS < 5.11 */
+#if HAVE_NBCOMPAT_H /* needed for strsep on SunOS < 5.11 */
 #include <nbcompat.h>
 #include <nbcompat/string.h>
 #endif

Don't know whether this is right or not, and I didn't test on non-
Solaris yet, but it makes pkgin build.

That's 
ignatios@einstein 25 % pkgin -v
pkgin 0.3.3 for SunOS-5.10 sparc
ignatios@einstein 26 % pkg_info pkgin | head
Information for pkgin-0.3.3.1nb1:

Comment:
Apt / yum like tool for managing pkgsrc binary packages

Requires:
libarchive>=2.2
sqlite3>=3.2.7nb1
[...]

Regards,
        -is


Home | Main Index | Thread Index | Old Index