Skip to content

Instantly share code, notes, and snippets.

@rbgarga
Created January 7, 2019 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbgarga/942cb0ef06a9dc9b148ef6ec71fd8f98 to your computer and use it in GitHub Desktop.
Save rbgarga/942cb0ef06a9dc9b148ef6ec71fd8f98 to your computer and use it in GitHub Desktop.
diff --git a/security/pfSense-pkg-suricata/Makefile b/security/pfSense-pkg-suricata/Makefile
index b465ba0c87f0..23e621ff992e 100644
--- a/security/pfSense-pkg-suricata/Makefile
+++ b/security/pfSense-pkg-suricata/Makefile
@@ -21,6 +21,8 @@ NO_MTREE= yes
SUB_FILES= pkg-install pkg-deinstall
SUB_LIST= PORTNAME=${PORTNAME}
+.include <bsd.port.pre.mk>
+
do-extract:
${MKDIR} ${WRKSRC}
@@ -140,5 +142,8 @@ do-install:
${STAGEDIR}${DATADIR}
@${REINPLACE_CMD} -i '' -e "s|%%PKGVERSION%%|${PKGVERSION}|" \
${STAGEDIR}${DATADIR}/info.xml
+.if ${ARCH} == "armv6" || ${ARCH} == "aarch64"
+ cd ${FILESDIR}/arm && ${COPYTREE_SHARE} . ${STAGEDIR}
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment