Don't bail out on clean installs, just create convenience symlink instead.
PR: ports/112796 Discussed with: flz, kris
This commit is contained in:
parent
9651e6ebad
commit
d6af8788d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191840
2 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= xorg-libraries
|
||||
PORTVERSION= 7.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -64,9 +65,12 @@ RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/x11.pc:${PORTSDIR}/x11/libX11 \
|
|||
${X11BASE}/libdata/pkgconfig/libfs.pc:${PORTSDIR}/x11-fonts/libFS \
|
||||
${X11BASE}/libdata/pkgconfig/oldx.pc:${PORTSDIR}/x11/liboldX
|
||||
|
||||
.if !defined(XORG_UPGRADE) && !defined(PACKAGE_BUILDING)
|
||||
.if !defined(XORG_UPGRADE) && !defined(PACKAGE_BUILDING) && exists(/usr/X11R6)
|
||||
pre-everything::
|
||||
@test -L /usr/X11R6 || ( echo "Read ${PORTSDIR}/UPDATING for the procedure to upgrade or install xorg 7.2." && /usr/bin/false )
|
||||
.elif !exists(/usr/X11R6) && !defined(WITHOUT_X11R6_SYMLINK)
|
||||
pre-everything::
|
||||
${LN} -s ${X11BASE} /usr/X11R6 || ${TRUE}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
libdata/xorg/libraries
|
||||
@exec test -e /usr/X11R6 || ln -s %%PREFIX%% /usr/X11R6 || true
|
||||
@dirrmtry libdata/xorg
|
||||
|
|
Loading…
Reference in a new issue