mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
50f56e483a
later at pkg_delete time to verify that you're deleting what you added. This, of course, does NOT cover the case where a file you still need hasn't changed! That's a tougher problem to solve, and this provides only the minimal amount of safety belt. MD5 checksums are stored in comment fields, so packages produced with these tools are backwards compatible with the older ones.
18 lines
372 B
Makefile
18 lines
372 B
Makefile
PROG= pkg_delete
|
|
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
|
|
.if exists(${.OBJDIR}/../lib)
|
|
LDADD+= -L${.OBJDIR}/../lib -linstall
|
|
DPADD+= ${.OBJDIR}/../lib/libinstall.a
|
|
.else
|
|
LDADD+= -L${.CURDIR}/../lib -linstall
|
|
DPADD+= ${.CURDIR}/../lib/libinstall.a
|
|
.endif
|
|
|
|
LDADD+= -lftpio -lmd
|
|
DPADD+= ${LIBFTPIO} ${LIBMD}
|
|
|
|
SRCS= main.c perform.c
|
|
|
|
.include <bsd.prog.mk>
|