Do not fail if libXrender.so doesn't exist at all.

Submitted by:	"Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
This commit is contained in:
Martin Blapp 2003-02-22 14:35:22 +00:00
parent 70d3601632
commit 56da587fc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76147
3 changed files with 6 additions and 0 deletions

View file

@ -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}"

View file

@ -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}"

View file

@ -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}"