Skip to content

Commit af13872

Browse files
committed
fix build
1 parent 977472e commit af13872

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

contrib/mport/mport/mport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ install(mportInstance *mport, const char *packageName)
755755
mportIndexEntry **indexEntry = NULL;
756756
mportIndexEntry **ie = NULL;
757757
mportIndexEntry **i2 = NULL;
758-
int resultCode;
758+
int resultCode = MPORT_OK;
759759
int item;
760760
int choice;
761761

lib/libmport/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SRCS= asset.c bundle_write.c bundle_read.c plist.c create_primative.c db.c \
1313
update_primative.c bundle_read_update_pkg.c pkgmeta.c \
1414
fetch.c index.c index_depends.c install.c clean.c setting.c \
1515
stats.c verify.c lock.c mkdir.c \
16-
import_export.c upgrade.c update.c autoremove.c ping.c
16+
import_export.c upgrade.c update.c autoremove.c ping.c message.c
1717
INCS= mport.h
1818

1919
CFLAGS+= -I${.CURDIR} -I${MPORTDIR}/libmport

usr.sbin/mport/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ MPORTDIR= ${SRCTOP}/contrib/mport
55

66
CFLAGS= -I${MPORTDIR}/libmport/
77

8-
LIBADD+= mport util
8+
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
9+
.PATH: ${SRCTOP}/contrib/libucl/include
10+
11+
LIBADD+= mport ucl util
912

1013
.include <bsd.prog.mk>

0 commit comments

Comments
 (0)