aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-07-02 08:35:14 +0800
committermax <max@FreeBSD.org>1997-07-02 08:35:14 +0800
commit0a90e96a66cf773d8e23eebff1c004b5cc78a85a (patch)
tree8089c720e00e38f2588376fb702224bc91a62040
parent959073f1187667817c10382590a948f23ebbc29e (diff)
downloadfreebsd-ports-gnome-0a90e96a66cf773d8e23eebff1c004b5cc78a85a.tar.gz
freebsd-ports-gnome-0a90e96a66cf773d8e23eebff1c004b5cc78a85a.tar.zst
freebsd-ports-gnome-0a90e96a66cf773d8e23eebff1c004b5cc78a85a.zip
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
-rw-r--r--japanese/prn/files/patch-aa26
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