x11-fonts/linux-f10-fontconfig/Makefile add -f to ln so install works
Julian H. Stacey
jhs at berklix.com
Wed Jan 29 11:44:22 UTC 2014
>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 at 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 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
More information about the freebsd-emulation
mailing list