mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Add support for sparc64
This commit is contained in:
parent
b9bafb8b33
commit
fd34ff3032
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186817
@ -28,14 +28,8 @@ GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= glib20 gnomehack
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CONFIGURE_TARGET= --build=x86_64-portbld-freebsd${OSREL}
|
||||
CONFIGURE_TARGET= --build=${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
|
||||
.else
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|"glib"|"glib-2.0"|g ; \
|
||||
@ -54,4 +48,4 @@ post-install:
|
||||
${PREFIX}/include/g-wrap/ffi
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,7 +25,7 @@
|
||||
+ LD="${LD-ld} -m elf_s390"
|
||||
+ ;;
|
||||
+ sparc64-*freebsd*)
|
||||
+ LD="${LD-ld} -m elf32_sparc"
|
||||
+ LD="${LD-ld} -m elf_sparc"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- libffi/configure.orig Tue Sep 12 17:01:51 2006
|
||||
+++ libffi/configure Tue Sep 12 17:02:19 2006
|
||||
--- libffi/configure.orig Wed Mar 7 10:16:39 2007
|
||||
+++ libffi/configure Wed Mar 7 10:20:54 2007
|
||||
@@ -3285,7 +3285,7 @@
|
||||
;;
|
||||
esac
|
||||
@ -9,3 +9,11 @@
|
||||
fi;
|
||||
|
||||
# Check whether --enable-static or --disable-static was given.
|
||||
@@ -19911,6 +19911,7 @@
|
||||
frv-*-*) TARGET=FRV; TARGETDIR=frv;;
|
||||
sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;;
|
||||
sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
|
||||
+sparc*-freebsd*) TARGET=SPARC; TARGETDIR=sparc;;
|
||||
sparc-*-linux* | sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
|
||||
sparc64-*-linux* | sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
|
||||
alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) TARGET=ALPHA; TARGETDIR=alpha;;
|
||||
|
Loading…
Reference in New Issue
Block a user