aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/mpmf20/Makefile2
-rw-r--r--audio/rio/Makefile8
-rw-r--r--biology/avida/Makefile8
-rw-r--r--biology/babel/Makefile8
-rw-r--r--biology/fasta/Makefile8
-rw-r--r--databases/pgcluster/Makefile8
-rw-r--r--devel/gccxml/Makefile4
-rw-r--r--editors/the/Makefile4
-rw-r--r--graphics/goom/Makefile8
-rw-r--r--graphics/libvisual/Makefile2
-rw-r--r--lang/libjit/Makefile6
-rw-r--r--lang/pfe-devel/Makefile2
-rw-r--r--lang/pfe/Makefile2
-rw-r--r--lang/scm/Makefile4
-rw-r--r--mail/smtp-gated/Makefile4
-rw-r--r--math/lp_solve/Makefile4
-rw-r--r--math/tomsfastmath/Makefile2
-rw-r--r--sysutils/consolehm/Makefile4
-rw-r--r--sysutils/dump9660/Makefile10
19 files changed, 75 insertions, 23 deletions
diff --git a/audio/mpmf20/Makefile b/audio/mpmf20/Makefile
index c6526431fd3b..31e37e04aa95 100644
--- a/audio/mpmf20/Makefile
+++ b/audio/mpmf20/Makefile
@@ -15,7 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= File transfer tool for the MPMan MP-F20 portable MP3-player
-NOT_FOR_ARCHS= ia64 sparc64
+NOT_FOR_ARCHS= ia64 powerpc sparc64
MAKEFILE= makefile
PLIST_FILES= bin/mpmf20
diff --git a/audio/rio/Makefile b/audio/rio/Makefile
index f8f654668ae2..41901d8d7835 100644
--- a/audio/rio/Makefile
+++ b/audio/rio/Makefile
@@ -24,12 +24,8 @@ PLIST_FILES= bin/rio
.include <bsd.port.pre.mk>
-.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
-BROKEN= Does not compile on ia64 or sparc64
-.endif
-
-.if ${ARCH} == "alpha"
-LDFLAGS+= -lio
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
do-build:
diff --git a/biology/avida/Makefile b/biology/avida/Makefile
index 637e8a3af5c5..d81dcfd8f55a 100644
--- a/biology/avida/Makefile
+++ b/biology/avida/Makefile
@@ -35,4 +35,10 @@ post-install:
cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc: invokes i386 asm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/biology/babel/Makefile b/biology/babel/Makefile
index 88fe4c860ae0..742db1c47d02 100644
--- a/biology/babel/Makefile
+++ b/biology/babel/Makefile
@@ -32,4 +32,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README.1ST ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/biology/fasta/Makefile b/biology/fasta/Makefile
index cd15d20c8b80..cf6389f61ed6 100644
--- a/biology/fasta/Makefile
+++ b/biology/fasta/Makefile
@@ -45,4 +45,10 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc"
+IGNORE= does not build: runs out of space on powerpc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/pgcluster/Makefile b/databases/pgcluster/Makefile
index 518bb8add73f..a2cb133772b6 100644
--- a/databases/pgcluster/Makefile
+++ b/databases/pgcluster/Makefile
@@ -104,4 +104,10 @@ post-install:
${MAKE} WRKSRC=${WRKSRC}/src/pgcluster/pglb do-install
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/gccxml/Makefile b/devel/gccxml/Makefile
index ef1dc5bc0cf4..b64f510d76d9 100644
--- a/devel/gccxml/Makefile
+++ b/devel/gccxml/Makefile
@@ -37,8 +37,8 @@ do-configure:
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha"
-BROKEN= Build fails on alpha
+.if ${ARCH} == "powerpc"
+BROKEN= Build fails on powerpc
.elif ${OSVERSION} >= 700042
# GCC-XML has some constructs that GCC 4.2 does not like. Namely,
# the use of casted-pointer-dereferences as an lvalue to post-increment
diff --git a/editors/the/Makefile b/editors/the/Makefile
index 9a98e7563428..90a06be8a715 100644
--- a/editors/the/Makefile
+++ b/editors/the/Makefile
@@ -32,6 +32,10 @@ OPTIONS= XAW3D "Enable Xaw3D" off \
.include <bsd.port.pre.mk>
+.if ${ARCH} == "powerpc"
+BROKEN= Does not configure on powerpc
+.endif
+
.if defined(WITH_XAW3D)
CONFIGURE_ARGS+=--with-xaw3d
LIB_DEPENDS+= Xaw3d.8:${PORTSDIR}/x11-toolkits/Xaw3d
diff --git a/graphics/goom/Makefile b/graphics/goom/Makefile
index d6f50edf05e7..b068e051dcd3 100644
--- a/graphics/goom/Makefile
+++ b/graphics/goom/Makefile
@@ -38,4 +38,10 @@ pre-everything::
@${ECHO} ""
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile
index 5c6972941e69..dec30095b890 100644
--- a/graphics/libvisual/Makefile
+++ b/graphics/libvisual/Makefile
@@ -27,6 +27,8 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
CFLAGS+= -mmmx
+.elif ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc
.endif
post-patch:
diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile
index a13917409d6e..2eca719e3f7f 100644
--- a/lang/libjit/Makefile
+++ b/lang/libjit/Makefile
@@ -27,9 +27,9 @@ MAN3= libjit.3
.if ${ARCH} == "ia64"
BROKEN= Segfault during build
-.endif
-
-.if ${ARCH} == "sparc64"
+.elif ${ARCH} == "powerpc"
+BROKEN= Fails to compile: invokes i386 asm
+.elif ${ARCH} == "sparc64"
BROKEN= Fails to compile: internal gcc error
.endif
diff --git a/lang/pfe-devel/Makefile b/lang/pfe-devel/Makefile
index a4d79892d5a4..47313873c98d 100644
--- a/lang/pfe-devel/Makefile
+++ b/lang/pfe-devel/Makefile
@@ -29,6 +29,8 @@ MAN1= pfe.1
.if ${ARCH} == "i386" && ${OSVERSION} < 700000
BROKEN= does not compile
+.elif ${ARCH} == "powerpc"
+BROKEN= does not compile
.endif
post-patch:
diff --git a/lang/pfe/Makefile b/lang/pfe/Makefile
index a4d79892d5a4..47313873c98d 100644
--- a/lang/pfe/Makefile
+++ b/lang/pfe/Makefile
@@ -29,6 +29,8 @@ MAN1= pfe.1
.if ${ARCH} == "i386" && ${OSVERSION} < 700000
BROKEN= does not compile
+.elif ${ARCH} == "powerpc"
+BROKEN= does not compile
.endif
post-patch:
diff --git a/lang/scm/Makefile b/lang/scm/Makefile
index b75f1b141ce1..56e51f31ee2f 100644
--- a/lang/scm/Makefile
+++ b/lang/scm/Makefile
@@ -44,8 +44,8 @@ SCM_MODULES= byte.so bytenumb.so crs.so differ.so edline.so gsubr.so \
.include <bsd.port.pre.mk>
-.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
-BROKEN= Does not compile on ${ARCH}
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
.if defined(WITH_X11)
diff --git a/mail/smtp-gated/Makefile b/mail/smtp-gated/Makefile
index 1e8035fa929d..9d78762cc38c 100644
--- a/mail/smtp-gated/Makefile
+++ b/mail/smtp-gated/Makefile
@@ -26,6 +26,10 @@ MAN8= smtp-gated.8
.include <bsd.port.pre.mk>
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc: cannot determine endianness
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's,install-man: install-man5 install-man8 install-manh,install-man: install-man5 install-man8,' ${WRKSRC}/doc/Makefile.in
diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile
index 1e75fa34fcbc..c6f1eb8bd366 100644
--- a/math/lp_solve/Makefile
+++ b/math/lp_solve/Makefile
@@ -26,6 +26,10 @@ LPSOLVE_ARCH= ux32
LPSOLVE_ARCH= ux64
.endif
+.if ${ARCH} == "powerpc"
+BROKEN= Does not install on powerpc
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "ccc" | ${XARGS} ${REINPLACE_CMD} -e \
"s|^c=.*$$|c='${CC}'|g ; \
diff --git a/math/tomsfastmath/Makefile b/math/tomsfastmath/Makefile
index 5e1894bba6cb..5a18171f38ac 100644
--- a/math/tomsfastmath/Makefile
+++ b/math/tomsfastmath/Makefile
@@ -30,6 +30,8 @@ PLIST_FILES= include/tfm.h lib/libtfm.a
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN= Does not compile on ia64 or sparc64
+.elif ${ARCH} == "powerpc"
+BROKEN= Causes gcc coredump on powerpc
.endif
.include <bsd.port.post.mk>
diff --git a/sysutils/consolehm/Makefile b/sysutils/consolehm/Makefile
index 7fbf4389a207..8cf624745c82 100644
--- a/sysutils/consolehm/Makefile
+++ b/sysutils/consolehm/Makefile
@@ -24,8 +24,8 @@ PLIST_FILES= bin/chm
.include <bsd.port.pre.mk>
-.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
-BROKEN= "Does not compile on ia64 or sparc64"
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
.include <bsd.port.post.mk>
diff --git a/sysutils/dump9660/Makefile b/sysutils/dump9660/Makefile
index b863a35531b6..69eaef03ab92 100644
--- a/sysutils/dump9660/Makefile
+++ b/sysutils/dump9660/Makefile
@@ -19,7 +19,7 @@ MAN8= mk9660.8
MAN5= proto.5
MLINKS= mk9660.8 dump9660.8
-ONLY_FOR_ARCHS= alpha i386 powerpc
+ONLY_FOR_ARCHS= i386 powerpc
OBJTYPE= ${MACHINE_ARCH:S/i386/386/:S/powerpc/power/}
MAKE_ENV= systype=${OPSYS} objtype=${OBJTYPE}
@@ -32,4 +32,10 @@ post-patch:
cd ${WRKSRC}/libunix; \
for f in *.s; do ${MV} $$f $${f%.s}.S; done
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc
+.endif
+
+.include <bsd.port.post.mk>