diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-07-02 00:35:14 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-07-02 00:35:14 +0000 |
commit | 590545371a2d8f9499cefc5d85095510d3eac1da (patch) | |
tree | cf22944129031f76cf21fa6a92d6e83048ab8d54 /japanese/prn/files | |
parent | Activate blue. (diff) |
Fix problem with symbolic link which occurs when this port is pkg_add'ed
with non-default prefix setting.
PR: 3990
Pointed-out by: taoka@infonets.hiroshima-u.ac.jp
Notes
Notes:
svn path=/head/; revision=7175
Diffstat (limited to 'japanese/prn/files')
-rw-r--r-- | japanese/prn/files/patch-aa | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/japanese/prn/files/patch-aa b/japanese/prn/files/patch-aa index 74bfe9a00199..0535998e7d1c 100644 --- a/japanese/prn/files/patch-aa +++ b/japanese/prn/files/patch-aa @@ -1,5 +1,5 @@ *** Makefile.orig Wed May 11 17:00:58 1994 ---- Makefile Mon Jun 23 23:15:39 1997 +--- Makefile Tue Jul 1 17:44:49 1997 *************** *** 25,35 **** # @(#)Makefile 2.3 (Y.Tonooka) 5/11/94 @@ -51,8 +51,28 @@ TAGS = ctags ETAGS = etags *************** -*** 98,103 **** ---- 102,108 ---- +*** 91,103 **** + + $(BINPATH)/cprn: $(BINPATH)/prn + if [ $@ ]; then $(RM) $@; fi +! $(LN) $(BINPATH)/prn $@ + + $(BINPATH)/cmt: cmt.c defs.c euc.c reg.y + $(MAKE) cmt + $(INSTALL) -s cmt $(BINPATH) + + $(LIBPATH)/cmtdefs: cmtdefs + $(CP) cmtdefs $@; chmod 644 $@ + + $(BINPATH)/psconv: psconv.c +--- 95,108 ---- + + $(BINPATH)/cprn: $(BINPATH)/prn + if [ $@ ]; then $(RM) $@; fi +! $(LN) prn $@ + + $(BINPATH)/cmt: cmt.c defs.c euc.c reg.y + $(MAKE) cmt $(INSTALL) -s cmt $(BINPATH) $(LIBPATH)/cmtdefs: cmtdefs |