From: FreeBSD-gnats-submit@FreeBSD.org
Date: Wed, 29 Jan 2014 11:50:00 GMT
To: "Julian H. Stacey" <jhs_ERASE_@berklix.com>

Thank you very much for your problem report.
It has the internal identification `ports/186232'.
The individual assigned to look at your
report is: freebsd-ports-bugs. 

You can access the state of your problem report at any time
via this link:

http://www.freebsd.org/cgi/query-pr.cgi?pr=186232

>Category:       ports
>Responsible:    freebsd-ports-bugs
>Synopsis:       x11-fonts/linux-f10-fontconfig/Makefile add -f to ln so install works
>Arrival-Date:   Wed Jan 29 11:50:00 UTC 2014
-----
Date: Wed, 29 Jan 2014 12:39:39 +0100 (CET)
To: FreeBSD-gnats-submit@@freebsd.org
Subject: x11-fonts/linux-f10-fontconfig/Makefile add -f to ln so install works
From: "Julian H. Stacey" <jhs@@berklix.com>
Subect: x11-fonts/linux-f10-fontconfig/Makefile add -f to ln so install works
Cc:  "Julian H. Stacey" <jhs@@berklix.com>, emulation@@freebsd.org
X-send-pr-version: 3.114
X-GNATS-Notify: 


>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 jhs@blak.js.berklix.net:/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/Makefile	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
  

