mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
7113d27114
Also allow URL specification for a package. This works for things the package may depend on, too. Allow PKG_PATH to be used anywhere a package is being searched for.
20 lines
369 B
Makefile
20 lines
369 B
Makefile
PROG= pkg_add
|
|
|
|
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
|
|
LDADD+= -lftp
|
|
DPADD+= ${LIBFTP}
|
|
|
|
.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>
|