762c7db2e8
- Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced. Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
13 lines
240 B
Makefile
13 lines
240 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
CFLAGS+= -DPKG_INSTALL_VERSION=20100423
|
|
CFLAGS+= -DYES_I_KNOW_THE_API_IS_RUBBISH_AND_IS_DOOMED_TO_CHANGE
|
|
|
|
DPADD+= ${LIBPKG}
|
|
LDADD+= -lpkg
|
|
|
|
# Inherit BINDIR from one level up.
|
|
.include "../Makefile.inc"
|