aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-07-12 16:45:26 +0800
committerstas <stas@FreeBSD.org>2010-07-12 16:45:26 +0800
commitb929e4e288fee9e071db171292d0bbec913db3b7 (patch)
treefd62b23b2267f36e960e912abe35796d0b6366cd /devel
parent9b0994816f9cf4a8d77905621ff2a0293db4ae6a (diff)
downloadfreebsd-ports-gnome-b929e4e288fee9e071db171292d0bbec913db3b7.tar.gz
freebsd-ports-gnome-b929e4e288fee9e071db171292d0bbec913db3b7.tar.zst
freebsd-ports-gnome-b929e4e288fee9e071db171292d0bbec913db3b7.zip
- Unbreak on i386.
PR: ports/148426 Submitted by: Bapt <baptiste.daroussin@gmail.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/libunwind/Makefile8
-rw-r--r--devel/libunwind/pkg-plist6
2 files changed, 9 insertions, 5 deletions
diff --git a/devel/libunwind/Makefile b/devel/libunwind/Makefile
index f28e91ef07cf..e10fc6a5fb7c 100644
--- a/devel/libunwind/Makefile
+++ b/devel/libunwind/Makefile
@@ -57,8 +57,12 @@ MAN3= _U_dyn_cancel.3 \
.if ${OSVERSION} < 701100 || (${OSVERSION} > 800000 && ${OSVERSION} < 800053)
IGNORE= your FreeBSD version is not supported
-.elif ${ARCH} == i386
-BROKEN= does not build
+.endif
+
+.if ${ARCH} == i386
+PLIST_SUB= ARCH=x86
+.elif ${ARCH} == amd64
+PLIST_SUB= ARCH=x86_64
.endif
#
diff --git a/devel/libunwind/pkg-plist b/devel/libunwind/pkg-plist
index 8397d5104fb2..966da01a2858 100644
--- a/devel/libunwind/pkg-plist
+++ b/devel/libunwind/pkg-plist
@@ -1,7 +1,7 @@
include/libunwind-common.h
include/libunwind-dynamic.h
include/libunwind-ptrace.h
-include/libunwind-x86_64.h
+include/libunwind-%%ARCH%%.h
include/libunwind.h
include/unwind.h
lib/libunwind-generic.a
@@ -9,7 +9,7 @@ lib/libunwind-generic.so
lib/libunwind-ptrace.a
lib/libunwind-setjmp.so
lib/libunwind-setjmp.so.0
-lib/libunwind-x86_64.so
-lib/libunwind-x86_64.so.7
+lib/libunwind-%%ARCH%%.so
+lib/libunwind-%%ARCH%%.so.7
lib/libunwind.so
lib/libunwind.so.7