diff options
-rw-r--r-- | net-im/libyahoo2/Makefile | 8 | ||||
-rw-r--r-- | net/libyahoo2/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/net-im/libyahoo2/Makefile b/net-im/libyahoo2/Makefile index 6f51f1c00726..8a3fcb8ea7f2 100644 --- a/net-im/libyahoo2/Makefile +++ b/net-im/libyahoo2/Makefile @@ -21,8 +21,14 @@ USE_GNOME= glib20 gnomehack gnometarget GNU_CONFIGURE= yes INSTALLS_SHLIB= yes +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +BROKEN= "Does not compile on !i386" +.endif + post-patch: @${REINPLACE_CMD} -e 's|-Wall -ansi -pedantic||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/src/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/libyahoo2/Makefile b/net/libyahoo2/Makefile index 6f51f1c00726..8a3fcb8ea7f2 100644 --- a/net/libyahoo2/Makefile +++ b/net/libyahoo2/Makefile @@ -21,8 +21,14 @@ USE_GNOME= glib20 gnomehack gnometarget GNU_CONFIGURE= yes INSTALLS_SHLIB= yes +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +BROKEN= "Does not compile on !i386" +.endif + post-patch: @${REINPLACE_CMD} -e 's|-Wall -ansi -pedantic||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/src/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> |