aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-02-22 22:35:22 +0800
committermbr <mbr@FreeBSD.org>2003-02-22 22:35:22 +0800
commitb1326c80157fe70178a9167390b61e15b84dc361 (patch)
tree4219f8ab911e5140d1654fbd5a213c4528eead41
parentf8dd03dc82ca8bce1908647dd2461ce32201be77 (diff)
downloadfreebsd-ports-gnome-b1326c80157fe70178a9167390b61e15b84dc361.tar.gz
freebsd-ports-gnome-b1326c80157fe70178a9167390b61e15b84dc361.tar.zst
freebsd-ports-gnome-b1326c80157fe70178a9167390b61e15b84dc361.zip
Do not fail if libXrender.so doesn't exist at all.
Submitted by: "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
-rw-r--r--editors/staroffice60/Makefile2
-rw-r--r--editors/staroffice70/Makefile2
-rw-r--r--german/staroffice70/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/editors/staroffice60/Makefile b/editors/staroffice60/Makefile
index 29297a3eb8c3..5c4a1388b990 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 29297a3eb8c3..5c4a1388b990 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} ;
diff --git a/german/staroffice70/Makefile b/german/staroffice70/Makefile
index 29297a3eb8c3..5c4a1388b990 100644
--- a/german/staroffice70/Makefile
+++ b/german/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} ;