aboutsummaryrefslogtreecommitdiff
path: root/print/acroread5
diff options
context:
space:
mode:
Diffstat (limited to 'print/acroread5')
-rw-r--r--print/acroread5/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile
index cb9f25c85cc3..0f281112c450 100644
--- a/print/acroread5/Makefile
+++ b/print/acroread5/Makefile
@@ -20,11 +20,14 @@ DIST_SUBDIR= acroread
MAINTAINER= trevor@FreeBSD.org
COMMENT= View, distribute and print PDF documents
-RUN_DEPENS= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs
-
ONLY_FOR_ARCHS= i386
+.if (exists(${LINUXBASE}/lib/libc-2.3.2.so))
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs
+.else
USE_LINUX= yes
+.endif
+
USE_REINPLACE= yes
REINPLACE_ARGS= -i '' -E
NO_FILTER_SHLIBS= yes