aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormanu <manu@FreeBSD.org>2018-09-18 21:03:44 +0800
committermanu <manu@FreeBSD.org>2018-09-18 21:03:44 +0800
commit7b8184350fb1d3ca514f829576e318e69d880393 (patch)
treebdea52737b94c8a391bd78a805ad44bb2dab36b3 /misc
parentd13ff8e20fdfa0de6d10ff2d7267eddd18a37989 (diff)
downloadfreebsd-ports-gnome-7b8184350fb1d3ca514f829576e318e69d880393.tar.gz
freebsd-ports-gnome-7b8184350fb1d3ca514f829576e318e69d880393.tar.zst
freebsd-ports-gnome-7b8184350fb1d3ca514f829576e318e69d880393.zip
misc/raspberrypi-userland: Unbreak on armv7
Set LLD_UNSAFE as it's needed to link. While here pet portlint. Tested-On: RPI2 Approved by: mikael.urankar@gmail.com (maintainer), bapt (mentor) Differential Revision: https://reviews.freebsd.org/D17203
Diffstat (limited to 'misc')
-rw-r--r--misc/raspberrypi-userland/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/raspberrypi-userland/Makefile b/misc/raspberrypi-userland/Makefile
index e02bcaeecb28..5a99c51cb6ee 100644
--- a/misc/raspberrypi-userland/Makefile
+++ b/misc/raspberrypi-userland/Makefile
@@ -14,14 +14,13 @@ ONLY_FOR_ARCHS= armv6 armv7
CONFLICTS_INSTALL= libglesv2 libEGL
+USES= cmake:outsource pkgconfig shebangfix
+
USE_GITHUB= yes
GH_ACCOUNT= gonzoua
GH_PROJECT= userland
GH_TAGNAME= e143b48
-USE_LDCONFIG= yes
-
-USES= cmake:outsource pkgconfig shebangfix
CMAKE_ARGS+= -DVMCS_INSTALL_PREFIX=${PREFIX} \
-DCMAKE_TOOLCHAIN_FILE=${WRKSRC}/makefiles/cmake/toolchains/arm-freebsd.cmake
SHEBANG_FILES= host_applications/linux/apps/dtoverlay/dtoverlay-post \
@@ -33,6 +32,10 @@ EXAMPLES_LIB_DEPENDS= libfreetype.so:print/freetype2
DEBUG_CFLAGS_OFF= -DNDEBUG
+USE_LDCONFIG= yes
+
+LLD_UNSAFE= yes
+
post-patch:
@${REINPLACE_CMD} -e "s|/opt/vc|${PREFIX}|g" \
${WRKSRC}/makefiles/cmake/vmcs.cmake \