Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2018 00:25:23 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476275 - head/archivers/opkg
Message-ID:  <201808030025.w730PN6i045286@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Fri Aug  3 00:25:23 2018
New Revision: 476275
URL: https://svnweb.freebsd.org/changeset/ports/476275

Log:
  archivers/opkg: build with static ubox

Modified:
  head/archivers/opkg/Makefile

Modified: head/archivers/opkg/Makefile
==============================================================================
--- head/archivers/opkg/Makefile	Fri Aug  3 00:17:01 2018	(r476274)
+++ head/archivers/opkg/Makefile	Fri Aug  3 00:25:23 2018	(r476275)
@@ -4,6 +4,7 @@
 PORTNAME=	opkg
 DISTVERSION=	20180802
 DISTVERSIONSUFFIX=	-3b417b9f
+PORTREVISION=	1
 CATEGORIES=	archivers sysutils
 MASTER_SITES=	LOCAL/mm/openwrt
 
@@ -15,13 +16,14 @@ LICENSE=	GPLv2
 OPKG_GITURL=	https://git.openwrt.org/project/opkg-lede.git
 
 USES=		cmake tar:xz
-LIB_DEPENDS+=	libubox.so:devel/libubox
+BUILD_DEPENDS+=	${LOCALBASE}/lib/libubox.a:devel/libubox
 
 .include <bsd.port.pre.mk>
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CMAKE_ARGS+=	-DLUAPATH="${LUA_MODLIBDIR}" \
+		-DSTATIC_UBOX=1 \
 		-DPATH_SPEC="${LOCALBASE}/sbin:${LOCALBASE}/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 
 post-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808030025.w730PN6i045286>