View | Details | Raw Unified | Return to bug 235243
Collapse All | Expand All

(-)w/lang/ponyc/Makefile (-3 / +2 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	ponyc
3
PORTNAME=	ponyc
4
DISTVERSION=	0.25.0
4
DISTVERSION=	0.26.0
5
PORTREVISION=	1
6
CATEGORIES=	lang
5
CATEGORIES=	lang
7
6
8
MAINTAINER=	greg@unrelenting.technology
7
MAINTAINER=	greg@unrelenting.technology
Lines 54-60 PONYARCH?= core2 Link Here
54
.endif
53
.endif
55
54
56
# keep in sync with all platforms where libunwind is available
55
# keep in sync with all platforms where libunwind is available
57
.if (${ARCH} == amd64 || ${ARCH} == i386)
56
.if (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == aarch64)
58
LIB_DEPENDS+=	libunwind.so:devel/libunwind
57
LIB_DEPENDS+=	libunwind.so:devel/libunwind
59
.endif
58
.endif
60
59
(-)w/lang/ponyc/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1539770206
1
TIMESTAMP = 1548588554
2
SHA256 (ponylang-ponyc-0.25.0_GH0.tar.gz) = 8420d84f178db325934d77dc407a7f98d6bd14b8cf8036e17b41f886f5820cb2
2
SHA256 (ponylang-ponyc-0.26.0_GH0.tar.gz) = e65631dbf5418abd465cbd5912794feb61c0db9b76b916b39772ad2f623ad16e
3
SIZE (ponylang-ponyc-0.25.0_GH0.tar.gz) = 1378042
3
SIZE (ponylang-ponyc-0.26.0_GH0.tar.gz) = 1391987
(-)c/lang/ponyc/files/patch-Makefile (-11 lines)
Removed Link Here
1
--- Makefile.orig	2018-10-17 10:11:59 UTC
2
+++ Makefile
3
@@ -806,7 +806,7 @@ $($(1))/libponyrt.$(LIB_EXT): $(depends) $(ofiles)
4
 	$(SILENT)rm -f $(PONY_BUILD_DIR)/dtrace_probes.o
5
 	$(SILENT)$(DTRACE) -G -s $(PONY_SOURCE_DIR)/common/dtrace_probes.d -o $(PONY_BUILD_DIR)/dtrace_probes.o $(ofiles)
6
 	$(SILENT)$(AR) $(AR_FLAGS) $$@ $(ofiles) $(PONY_BUILD_DIR)/dtrace_probes.o
7
-	$(SILENT)$(AR) $(AR_FLAGS) $(PONY_BUILD_DIR)/libdtrace_probes.a $(PONY_BUILD_DIR)/dtrace_probes.o
8
+	$(SILENT)$(AR) $(AR_FLAGS) $(lib)/libdtrace_probes.a $(PONY_BUILD_DIR)/dtrace_probes.o
9
     else
10
 	$(SILENT)$(AR) $(AR_FLAGS) $$@ $(ofiles)
11
     endif
(-)c/lang/ponyc/files/patch-src_libponyc_codegen_genexe.c (-12 lines)
Removed Link Here
1
--- src/libponyc/codegen/genexe.c.orig	2018-10-13 12:30:06 UTC
2
+++ src/libponyc/codegen/genexe.c
3
@@ -347,8 +347,7 @@ static bool link_exe(compile_t* c, ast_t* program,
4
     "";
5
 #endif
6
   const char* lexecinfo =
7
-#if (defined(PLATFORM_IS_LINUX) && !defined(__GLIBC__)) || \
8
-    (defined(PLATFORM_IS_BSD) && defined(DEBUG))
9
+#if (defined(PLATFORM_IS_LINUX) && !defined(__GLIBC__)) || defined(PLATFORM_IS_BSD)
10
    "-lexecinfo";
11
 #else
12
     "";
(-)c/lang/ponyc/files/patch-src_libponyc_codegen_host.cc (-17 lines)
Removed Link Here
1
--- src/libponyc/codegen/host.cc.orig	2018-10-17 11:42:19 UTC
2
+++ src/libponyc/codegen/host.cc
3
@@ -56,7 +56,14 @@ char* LLVMGetHostCPUFeatures()
4
 {
5
   StringMap<bool> features;
6
   bool got_features = sys::getHostCPUFeatures(features);
7
+#ifdef PLATFORM_IS_ARM
8
+  // LLVM might not have CPU features support on e.g. FreeBSD/aarch64
9
+  if (!got_features) {
10
+    features["neon"] = true;
11
+  }
12
+#else
13
   pony_assert(got_features);
14
+#endif
15
   (void)got_features;
16
 
17
   // Calculate the size of buffer that will be needed to return all features.
(-)w/lang/ponyc/pkg-plist (+1 lines)
Lines 62-67 lib/pony/%%VERSION%%/packages/cli/env_vars.pony Link Here
62
lib/pony/%%VERSION%%/packages/collections/_test.pony
62
lib/pony/%%VERSION%%/packages/collections/_test.pony
63
lib/pony/%%VERSION%%/packages/collections/flag.pony
63
lib/pony/%%VERSION%%/packages/collections/flag.pony
64
lib/pony/%%VERSION%%/packages/collections/hashable.pony
64
lib/pony/%%VERSION%%/packages/collections/hashable.pony
65
lib/pony/%%VERSION%%/packages/collections/heap.pony
65
lib/pony/%%VERSION%%/packages/collections/list.pony
66
lib/pony/%%VERSION%%/packages/collections/list.pony
66
lib/pony/%%VERSION%%/packages/collections/list_node.pony
67
lib/pony/%%VERSION%%/packages/collections/list_node.pony
67
lib/pony/%%VERSION%%/packages/collections/map.pony
68
lib/pony/%%VERSION%%/packages/collections/map.pony

Return to bug 235243