aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-02-22 14:35:22 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-02-22 14:35:22 +0000
commit56da587fc4792395fde2fe024b04e1a684679464 (patch)
tree339fb4824aedca05ec5e276db6f610011be1ef25 /editors
parent70d3601632df2c7bc53836e0072b4ff3ba458285 (diff)
downloadports-56da587fc4792395fde2fe024b04e1a684679464.tar.gz
ports-56da587fc4792395fde2fe024b04e1a684679464.zip
Do not fail if libXrender.so doesn't exist at all.
Submitted by: "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
Notes
Notes: svn path=/head/; revision=76147
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 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} ;