svn commit: r476275 - head/archivers/opkg
Martin Matuska
mm at FreeBSD.org
Fri Aug 3 00:25:24 UTC 2018
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:
More information about the svn-ports-all
mailing list