3a5e372a3d
out by Bruce. 2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get it to dump its internal packing list out so that the `fake-pkg' rule in bsd.port.mk can generate a more meaningful packing list.
17 lines
334 B
Makefile
17 lines
334 B
Makefile
PROG= pkg_add
|
|
|
|
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
|
|
.if exists(${.CURDIR}/../lib/obj)
|
|
LDADD+= -L${.CURDIR}/../lib/obj -linstall
|
|
DPADD+= ${.CURDIR}/../lib/obj/libinstall.a
|
|
.else
|
|
LDADD+= -L${.CURDIR}/../lib -linstall
|
|
DPADD+= ${.CURDIR}/../lib/libinstall.a
|
|
.endif
|
|
|
|
|
|
SRCS= main.c perform.c futil.c extract.c
|
|
|
|
.include <bsd.prog.mk>
|