aboutsummaryrefslogtreecommitdiffstats
path: root/devel/g-wrap/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-03-07 23:24:50 +0800
committerahze <ahze@FreeBSD.org>2007-03-07 23:24:50 +0800
commitef818aa6c55014408380995ad57be85e140b82c6 (patch)
tree6e83e7c69a49104de10d86a4115db1093968f22f /devel/g-wrap/Makefile
parent50aada64b58c6e0165c20e7f87248cc4cc8dd4a1 (diff)
downloadfreebsd-ports-gnome-ef818aa6c55014408380995ad57be85e140b82c6.tar.gz
freebsd-ports-gnome-ef818aa6c55014408380995ad57be85e140b82c6.tar.zst
freebsd-ports-gnome-ef818aa6c55014408380995ad57be85e140b82c6.zip
Add support for sparc64
Diffstat (limited to 'devel/g-wrap/Makefile')
-rw-r--r--devel/g-wrap/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/g-wrap/Makefile b/devel/g-wrap/Makefile
index 605ce9df4880..445969291ea6 100644
--- a/devel/g-wrap/Makefile
+++ b/devel/g-wrap/Makefile
@@ -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>