diff options
Diffstat (limited to 'print/acroread7')
-rw-r--r-- | print/acroread7/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/print/acroread7/Makefile b/print/acroread7/Makefile index f7566dc1b20d..7dc57c9ac1d3 100644 --- a/print/acroread7/Makefile +++ b/print/acroread7/Makefile @@ -16,7 +16,7 @@ EXTRACT_SUFX= DIST_SUBDIR= acroread EXTRACT_ONLY= -MAINTAINER?= trevor@FreeBSD.org +MAINTAINER?= ports@FreeBSD.org COMMENT?= View, search and print PDF documents BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm @@ -32,6 +32,13 @@ PLIST= ${WRKDIR}/plist SUB_FILES= acroread7 SUB_LIST+= INSTDIR=${INSTDIR} +.include <bsd.port.pre.mk> + +.if (${ARCH} == "amd64") +ARCH= i386 +RPMFLAGS+= --ignorearch +.endif + do-build: @kldstat -v | ${GREP} -E 'linux(aout|elf)' >/dev/null ||\ { ${ECHO_MSG} "Linux ABI compatibility must be enabled to install ${PORTNAME}-${PORTVERSION}"; \ @@ -56,4 +63,4 @@ do-install: # disable the PPKLite plugin as it requires an LDAP share lib ${CHMOD} 0 ${PREFIX}/${INSTDIR}/usr/local/Adobe/Acrobat7.0/Reader/intellinux/plug_ins/PPKLite.api -.include <bsd.port.mk> +.include <bsd.port.post.mk> |