BROKEN on amd64: Shared libraries must be compiled with -fPIC
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user