summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-02-22 14:35:22 +0000
committermbr <mbr@FreeBSD.org>2003-02-22 14:35:22 +0000
commitb1326c80157fe70178a9167390b61e15b84dc361 (patch)
tree4219f8ab911e5140d1654fbd5a213c4528eead41 /editors
parentf8dd03dc82ca8bce1908647dd2461ce32201be77 (diff)
downloadFreeBSD-ports-b1326c80157fe70178a9167390b61e15b84dc361.zip
FreeBSD-ports-b1326c80157fe70178a9167390b61e15b84dc361.tar.gz
Do not fail if libXrender.so doesn't exist at all.
Submitted by: "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
Diffstat (limited to 'editors')
-rw-r--r--editors/staroffice60/Makefile2
-rw-r--r--editors/staroffice70/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/editors/staroffice60/Makefile b/editors/staroffice60/Makefile
index 29297a3..5c4a138 100644
--- a/editors/staroffice60/Makefile
+++ b/editors/staroffice60/Makefile
@@ -169,9 +169,11 @@ do-install:
@${LN} -fs ${LINUXBASE}/${PREFIX}/${SOVERSION} ${PREFIX}/${SOVERSION}
.endif
.if !exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so)
+.if exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0)
@${LN} -fs ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0 \
${WRKDIR}/tmp/libXrender.so
.endif
+.endif
@${ECHO} ;
@${ECHO_MSG} "===> STEP 1: Main Setup ${PKGNAME}"
@${ECHO} ;
diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile
index 29297a3..5c4a138 100644
--- a/editors/staroffice70/Makefile
+++ b/editors/staroffice70/Makefile
@@ -169,9 +169,11 @@ do-install:
@${LN} -fs ${LINUXBASE}/${PREFIX}/${SOVERSION} ${PREFIX}/${SOVERSION}
.endif
.if !exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so)
+.if exists(${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0)
@${LN} -fs ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1.0 \
${WRKDIR}/tmp/libXrender.so
.endif
+.endif
@${ECHO} ;
@${ECHO_MSG} "===> STEP 1: Main Setup ${PKGNAME}"
@${ECHO} ;
OpenPOWER on IntegriCloud