diff --git a/math/matrix/Makefile b/math/matrix/Makefile index 85f2ae3495c8..5b6b0a8c41a8 100644 --- a/math/matrix/Makefile +++ b/math/matrix/Makefile @@ -20,4 +20,10 @@ USE_ZIP= yes INSTALLS_SHLIB= yes PLIST_SUB= LIBVERSION=1 -.include +.include + +.if ${ARCH} == "amd64" +BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" +.endif + +.include diff --git a/math/octave-devel/Makefile b/math/octave-devel/Makefile index 26add37ebe1f..d801559c0391 100644 --- a/math/octave-devel/Makefile +++ b/math/octave-devel/Makefile @@ -23,6 +23,10 @@ USE_BZIP2= yes .include +.if ${ARCH} == "amd64" +BROKEN= "Does not build on amd64 (Shared libraries must be compiled with -fPIC)" +.endif + .if ${PORTOBJFORMAT} == "elf" GNU_HOST= ${ARCH}-portbld-freebsd${OSREL} .else diff --git a/math/octave/Makefile b/math/octave/Makefile index 26add37ebe1f..d801559c0391 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -23,6 +23,10 @@ USE_BZIP2= yes .include +.if ${ARCH} == "amd64" +BROKEN= "Does not build on amd64 (Shared libraries must be compiled with -fPIC)" +.endif + .if ${PORTOBJFORMAT} == "elf" GNU_HOST= ${ARCH}-portbld-freebsd${OSREL} .else diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile index 839bb7bc88c9..133e1a6aa251 100644 --- a/multimedia/mpeg4ip/Makefile +++ b/multimedia/mpeg4ip/Makefile @@ -91,6 +91,10 @@ post-extract: .include +.if ${ARCH} == "amd64" +BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" +.endif + post-patch: @${FIND} ${WRKSRC} -type f -name "*.[ch]" -or -name "*.cpp" | ${XARGS} -n 10 \ ${REINPLACE_CMD} -e \