Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Dec 14, 2023
1 parent 7c83f26 commit dfaab0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/mport/mport/mport.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ install(mportInstance *mport, const char *packageName)
mportIndexEntry **indexEntry = NULL;
mportIndexEntry **ie = NULL;
mportIndexEntry **i2 = NULL;
int resultCode;
int resultCode = MPORT_OK;
int item;
int choice;

Expand Down
2 changes: 1 addition & 1 deletion lib/libmport/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SRCS= asset.c bundle_write.c bundle_read.c plist.c create_primative.c db.c \
update_primative.c bundle_read_update_pkg.c pkgmeta.c \
fetch.c index.c index_depends.c install.c clean.c setting.c \
stats.c verify.c lock.c mkdir.c \
import_export.c upgrade.c update.c autoremove.c ping.c
import_export.c upgrade.c update.c autoremove.c ping.c message.c
INCS= mport.h

CFLAGS+= -I${.CURDIR} -I${MPORTDIR}/libmport
Expand Down
5 changes: 4 additions & 1 deletion usr.sbin/mport/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ MPORTDIR= ${SRCTOP}/contrib/mport

CFLAGS= -I${MPORTDIR}/libmport/

LIBADD+= mport util
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
.PATH: ${SRCTOP}/contrib/libucl/include

LIBADD+= mport ucl util

.include <bsd.prog.mk>

0 comments on commit dfaab0e

Please sign in to comment.