diff --git a/editors/staroffice60/Makefile b/editors/staroffice60/Makefile index 29297a3eb8c3..5c4a1388b990 100644 --- a/editors/staroffice60/Makefile +++ b/editors/staroffice60/Makefile @@ -169,8 +169,10 @@ 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}" diff --git a/editors/staroffice70/Makefile b/editors/staroffice70/Makefile index 29297a3eb8c3..5c4a1388b990 100644 --- a/editors/staroffice70/Makefile +++ b/editors/staroffice70/Makefile @@ -169,8 +169,10 @@ 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}" diff --git a/german/staroffice70/Makefile b/german/staroffice70/Makefile index 29297a3eb8c3..5c4a1388b990 100644 --- a/german/staroffice70/Makefile +++ b/german/staroffice70/Makefile @@ -169,8 +169,10 @@ 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}"