>Submitter-Id:  current-users
>Originator:    Julian H. Stacey
>Organization:  http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen.
>Confidential:  no 
>Synopsis:      x11-fonts/linux-f10-fontconfig/Makefile add -f to ln so install 
>works
>Severity:      non-critical 
>Priority:      low 
>Category:      ports
>Class:         change-request 
>Release:       FreeBSD 9.2-RELEASE amd64
>Environment:
System: FreeBSD blak.js.berklix.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Thu Jan 
23 15:10:05 CET 2014 [email protected]:/sys/amd64/compile/BLAK.small 
amd64


        
>Description:
        
Make install fails if symbolic link already exists

>How-To-Repeat:
        
Make install ; make clean ; make install
>Fix:

        

Apply this fix

http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/x11-fonts/linux-f10-fontconfig/Makefile.REL=ALL.diff

*** 9.2-RELEASE/ports/x11-fonts/linux-f10-fontconfig/Makefile   Wed Jan 29 
12:28:49 2014
--- new/ports/x11-fonts/linux-f10-fontconfig    Wed Jan 29 12:28:07 2014
***************
*** 33,39 ****
                        ${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
  
  post-install:
!               @${LN} -s ${LOCALBASE}/etc/fonts ${PREFIX}/etc/
  
  DESCR=                ${.CURDIR}/../${PORTNAME}/pkg-descr
  
--- 33,40 ----
                        ${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
  
  post-install:
!               @${LN} -s -f ${LOCALBASE}/etc/fonts ${PREFIX}/etc/
!               @# -f avoids failure if link already exists
  
  DESCR=                ${.CURDIR}/../${PORTNAME}/pkg-descr
  
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to