Don't use absolute path for the source file when making symlink so that

it won't cause any trouble even this port is installed by pkg_add with
the prefix set to other place than /usr/local.
This commit is contained in:
Masafumi Max NAKANE 1997-10-05 08:32:25 +00:00
parent 292f7affa7
commit b013989949
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8119
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
# Date created: 05 Oct 1997
# Whom: max
#
# $Id: Makefile,v 1.20 1997/10/04 17:13:37 max Exp $
# $Id: Makefile,v 1.21 1997/10/04 17:58:42 max Exp $
#
DISTNAME= web2c-7.0
@ -46,6 +46,6 @@ post-install:
.for bin in ${BINARIES}
@strip ${PREFIX}/bin/${bin}
.endfor
@/bin/ln -fs ${PREFIX}/bin/tex ${PREFIX}/bin/ptex-common
@/bin/ln -fs tex ${PREFIX}/bin/ptex-common
.include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 05 Oct 1997
# Whom: max
#
# $Id: Makefile,v 1.20 1997/10/04 17:13:37 max Exp $
# $Id: Makefile,v 1.21 1997/10/04 17:58:42 max Exp $
#
DISTNAME= web2c-7.0
@ -46,6 +46,6 @@ post-install:
.for bin in ${BINARIES}
@strip ${PREFIX}/bin/${bin}
.endfor
@/bin/ln -fs ${PREFIX}/bin/tex ${PREFIX}/bin/ptex-common
@/bin/ln -fs tex ${PREFIX}/bin/ptex-common
.include <bsd.port.mk>