summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/Makefile.inc')
-rw-r--r--usr.sbin/pkg_install/Makefile.inc13
1 files changed, 4 insertions, 9 deletions
diff --git a/usr.sbin/pkg_install/Makefile.inc b/usr.sbin/pkg_install/Makefile.inc
index 2fa20aa..5c9e266 100644
--- a/usr.sbin/pkg_install/Makefile.inc
+++ b/usr.sbin/pkg_install/Makefile.inc
@@ -2,16 +2,11 @@
.include <bsd.own.mk>
-LIBINSTALL= ${.OBJDIR}/../lib/libinstall.a
+CFLAGS+= -DPKG_INSTALL_VERSION=20100423
+CFLAGS+= -DYES_I_KNOW_THE_API_IS_RUBBISH_AND_IS_DOOMED_TO_CHANGE
-DPADD+= ${LIBUTIL}
-LDADD+= -lutil
-
-.if ${MK_OPENSSL} != "no" && \
- defined(LDADD) && ${LDADD:M-lfetch} != ""
-DPADD+= ${LIBSSL} ${LIBCRYPTO}
-LDADD+= -lssl -lcrypto
-.endif
+DPADD+= ${LIBPKG}
+LDADD+= -lpkg
# Inherit BINDIR from one level up.
.include "../Makefile.inc"
OpenPOWER on IntegriCloud