diff options
-rw-r--r-- | security/audit/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/xview/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/security/audit/Makefile b/security/audit/Makefile index aa1acad49b83..7933e0bbfc5b 100644 --- a/security/audit/Makefile +++ b/security/audit/Makefile @@ -57,6 +57,12 @@ DOCS= COPYING README TODO FIXPREFIX_CONF= src/include/audconf.h src/auditd/auditd.8 LIBVERSION= 1 +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +BROKEN= "Does not compile on amd64" +.endif + post-patch: ${REINPLACE_CMD} -e "s@Linux@FreeBSD@g" ${WRKSRC}/configure (${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec \ @@ -78,4 +84,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/xview/Makefile b/x11-toolkits/xview/Makefile index bb08008fb2db..35194499c1d6 100644 --- a/x11-toolkits/xview/Makefile +++ b/x11-toolkits/xview/Makefile @@ -28,6 +28,12 @@ ALL_TARGET= World MAN1= msgfmt.1 xgettext.1 xview.1 +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +BROKEN= "Does not compile on amd64" +.endif + post-patch: @${REINPLACE_CMD} -e 's+/usr/X11R6+${PREFIX}+;' \ ${WRKSRC}/config/XView.cf @@ -49,4 +55,4 @@ post-install: @(cd ${WRKSRC}; ${MAKE} -k 'SUBDIRS=doc' install) .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |