BROKEN on amd64: Shared libraries must be compiled with -fPIC

This commit is contained in:
Kris Kennaway
2004-06-19 09:26:43 +00:00
parent ef790344e6
commit feba77f645
4 changed files with 19 additions and 1 deletions

View File

@@ -20,4 +20,10 @@ USE_ZIP= yes
INSTALLS_SHLIB= yes
PLIST_SUB= LIBVERSION=1
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)"
.endif
.include <bsd.port.post.mk>

View File

@@ -23,6 +23,10 @@ USE_BZIP2= yes
.include <bsd.port.pre.mk>
.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

View File

@@ -23,6 +23,10 @@ USE_BZIP2= yes
.include <bsd.port.pre.mk>
.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

View File

@@ -91,6 +91,10 @@ post-extract:
.include <bsd.port.pre.mk>
.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 \