tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: New library addition
On Mon, May 09, 2011 at 04:11:36AM +0200, Emmanuel Dreyfus wrote:
> Alistair Crooks <agc%pkgsrc.org@localhost> wrote:
>
> > No, the lines I quoted were to be added to the setlists (see the appropriate
> > filenames in brackets).
>
> Here is what I get:
>
> $ make setlists
> make: "/home6/tmp/netbsd-20110504/src/distrib/sets/Makefile" line 18:
> Malformed conditional (${USE_PIGZGZIP} != "no")
> make: "/home6/tmp/netbsd-20110504/src/distrib/sets/Makefile" line 47:
> Malformed conditional (${MKEXTSRC} != "no")
> make: "/home6/tmp/netbsd-20110504/src/distrib/sets/Makefile" line 53:
> Malformed conditional (${MKEXTSRC} != "no")
> make: "/home6/tmp/netbsd-20110504/src/distrib/sets/./mkvars.mk" line 66:
> Malformed conditional ((${MKDTRACE} != "no" || ${MKZFS} != "no"))
> make: "/home6/tmp/netbsd-20110504/src/distrib/sets/./mkvars.mk" line 66:
> Missing dependency operatormake: Fatal errors encountered -- cannot
> continue
>
> How do you workaround this?
I generated the setlist changes for you, so not sure why this is needed,
but just in case I fall under a bus:
% cvs diff Makefile
Index: Makefile
===================================================================
RCS file: /cvsroot/src/lib/libperfuse/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 25 Aug 2010 07:16:00 -0000 1.1
+++ Makefile 9 May 2011 03:04:49 -0000
@@ -11,4 +11,6 @@
INCS= perfuse.h
INCSDIR= /usr/include
+.include <bsd.setlist.mk>
+
.include <bsd.lib.mk>
% sudo cp /usr/othersrc/external/bsd/gensetlist/bsd.setlist.mk /usr/share/mk/
% make GUARD=PERFUSE CATEGORY=perfused setlist
gensetlist -v LIB=perfuse -v SHLIB_VERSION=0.0. -v LIBDIR=/usr/lib -v
MAN=libperfuse.3 -v MANDIR=/usr/share/man -v INCS=perfuse.h -v
INCSDIR=/usr/include -D PERFUSE -c perfused
[src/distrib/sets/lists/base/ad.mips64eb]
./usr/lib/64/libperfuse.so.0 base-compat-shlib compat,pic,perfuse
./usr/lib/64/libperfuse.so.0.0 base-compat-shlib compat,pic,perfuse
./usr/lib/o32/libperfuse.so.0 base-compat-shlib compat,pic,perfuse
./usr/lib/o32/libperfuse.so.0.0 base-compat-shlib compat,pic,perfuse
[src/distrib/sets/lists/base/ad.mips64el]
./usr/lib/64/libperfuse.so.0 base-compat-shlib compat,pic,perfuse
./usr/lib/64/libperfuse.so.0.0 base-compat-shlib compat,pic,perfuse
./usr/lib/o32/libperfuse.so.0 base-compat-shlib compat,pic,perfuse
./usr/lib/o32/libperfuse.so.0.0 base-compat-shlib compat,pic,perfuse
[src/distrib/sets/lists/base/md.amd64]
./usr/lib/i386/libperfuse.so.0 base-compat-shlib compat,pic,perfuse
./usr/lib/i386/libperfuse.so.0.0 base-compat-shlib compat,pic,perfuse
[src/distrib/sets/lists/base/md.sparc64]
./usr/lib/sparc/libperfuse.so.0 base-compat-shlib compat,pic,perfuse
./usr/lib/sparc/libperfuse.so.0.0 base-compat-shlib compat,pic,perfuse
[src/distrib/sets/lists/base/shl.mi]
./usr/lib/libperfuse.so base-perfused-shlib perfuse
./usr/lib/libperfuse.so.0 base-perfused-shlib perfuse
./usr/lib/libperfuse.so.0.0 base-perfused-shlib perfuse
[src/distrib/sets/lists/comp/mi]
./usr/include/perfuse.h comp-c-include perfuse
./usr/share/man/cat3/libperfuse.0 comp-perfused-catman .cat,perfuse
./usr/share/man/html3/libperfuse.html comp-perfused-htmlman
.html,perfuse
./usr/share/man/man3/libperfuse.3 comp-perfused-man .man,perfuse
./usr/lib/libperfuse.a comp-perfused-lib perfuse
./usr/lib/libperfuse_g.a comp-perfused-lib debuglib,perfuse
./usr/lib/libperfuse_p.a comp-perfused-proflib profile,perfuse
./usr/libdata/lint/llib-lperfuse.ln comp-perfused-lintlib lint,perfuse
[src/distrib/sets/lists/comp/shl.mi]
./usr/lib/libperfuse_pic.a comp-perfused-piclib perfuse
./usr/libdata/debug/usr/lib/libperfuse.so.0.0.debug comp-perfused-debug
debug,perfuse
[src/distrib/sets/lists/comp/ad.mips64eb]
./usr/lib/64/libperfuse.a comp-c-lib compat,perfuse
./usr/lib/64/libperfuse.so comp-sys-shlib compat,perfuse
./usr/lib/64/libperfuse_g.a comp-c-proflib compat,debuglib,perfuse
./usr/lib/64/libperfuse_p.a comp-c-proflib compat,profile,perfuse
./usr/lib/64/libperfuse_pic.a comp-c-piclib compat,pic,perfuse
./usr/libdata/debug/usr/lib/64/libperfuse.so.0.0 comp-compat-shlib
compat,pic,debug,perfuse
./usr/lib/o32/libperfuse.a comp-c-lib compat,perfuse
./usr/lib/o32/libperfuse.so comp-sys-shlib compat,perfuse
./usr/lib/o32/libperfuse_g.a comp-c-proflib compat,debuglib,perfuse
./usr/lib/o32/libperfuse_p.a comp-c-proflib compat,profile,perfuse
./usr/lib/o32/libperfuse_pic.a comp-c-piclib compat,pic,perfuse
./usr/libdata/debug/usr/lib/o32/libperfuse.so.0.0 comp-compat-shlib
compat,pic,debug,perfuse
[src/distrib/sets/lists/comp/ad.mips64el]
./usr/lib/64/libperfuse.a comp-c-lib compat,perfuse
./usr/lib/64/libperfuse.so comp-sys-shlib compat,perfuse
./usr/lib/64/libperfuse_g.a comp-c-proflib compat,debuglib,perfuse
./usr/lib/64/libperfuse_p.a comp-c-proflib compat,profile,perfuse
./usr/lib/64/libperfuse_pic.a comp-c-piclib compat,pic,perfuse
./usr/libdata/debug/usr/lib/64/libperfuse.so.0.0 comp-compat-shlib
compat,pic,debug,perfuse
./usr/lib/o32/libperfuse.a comp-c-lib compat,perfuse
./usr/lib/o32/libperfuse.so comp-sys-shlib compat,perfuse
./usr/lib/o32/libperfuse_g.a comp-c-proflib compat,debuglib,perfuse
./usr/lib/o32/libperfuse_p.a comp-c-proflib compat,profile,perfuse
./usr/lib/o32/libperfuse_pic.a comp-c-piclib compat,pic,perfuse
./usr/libdata/debug/usr/lib/o32/libperfuse.so.0.0 comp-compat-shlib
compat,pic,debug,perfuse
[src/distrib/sets/lists/comp/md.amd64]
./usr/lib/i386/libperfuse.a comp-c-lib compat,perfuse
./usr/lib/i386/libperfuse.so comp-sys-shlib compat,perfuse
./usr/lib/i386/libperfuse_g.a comp-c-proflib compat,debuglib,perfuse
./usr/lib/i386/libperfuse_p.a comp-c-proflib compat,profile,perfuse
./usr/lib/i386/libperfuse_pic.a comp-c-piclib compat,pic,perfuse
./usr/libdata/debug/usr/lib/i386/libperfuse.so.0.0 comp-compat-shlib
compat,pic,debug,perfuse
[src/distrib/sets/lists/comp/md.sparc64]
./usr/lib/sparc/libperfuse.a comp-c-lib compat,perfuse
./usr/lib/sparc/libperfuse.so comp-sys-shlib compat,perfuse
./usr/lib/sparc/libperfuse_g.a comp-c-proflib compat,debuglib,perfuse
./usr/lib/sparc/libperfuse_p.a comp-c-proflib compat,profile,perfuse
./usr/lib/sparc/libperfuse_pic.a comp-c-piclib compat,pic,perfuse
./usr/libdata/debug/usr/lib/sparc/libperfuse.so.0.0 comp-compat-shlib
compat,pic,debug,perfuse
for the library, and
% cvs diff Makefile
Index: Makefile
===================================================================
RCS file: /cvsroot/src/usr.sbin/perfused/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 25 Aug 2010 07:18:01 -0000 1.1
+++ Makefile 9 May 2011 03:11:03 -0000
@@ -10,4 +10,6 @@
LDADD+= -lperfuse -lpuffs #-L/usr/pkg/lib -lefence
DPADD+= ${LIBPUFFS}
+.include <bsd.setlist.mk>
+
.include <bsd.prog.mk>
% make CATEGORY=perfused GUARD=perfuse setlist
gensetlist -v MAN=perfused.8 -v MANDIR=/usr/share/man -v PROG=perfused -v
BINDIR=/usr/sbin -D perfuse -c perfused
[src/distrib/sets/lists/base/mi]
./usr/sbin/perfused base-perfused-bin perfuse
[src/distrib/sets/lists/comp/mi]
./usr/libdata/debug/usr/sbin/perfused.debug comp-perfused-debug
debug,perfuse
./usr/share/man/cat8/perfused.0 comp-perfused-catman .cat,perfuse
./usr/share/man/html8/perfused.html comp-perfused-htmlman
.html,perfuse
./usr/share/man/man8/perfused.8 comp-perfused-man .man,perfuse
%
for the daemon.
Regards,
Alistair
Home |
Main Index |
Thread Index |
Old Index