Skip to content
Permalink
Browse files

don't create symlinks outside of destroot.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3094 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Jul 30, 2003
1 parent 867083a commit 40f06c5f33679a9fc8f3824f2577e01eb475e7de
Showing with 21 additions and 2 deletions.
  1. +21 −2 irc/epic/files/patch-Makefile.in
@@ -1,5 +1,5 @@
--- Makefile.in Tue Aug 20 16:32:07 2002
+++ Makefile.in.orig Tue Aug 20 16:31:51 2002
--- Makefile.in.orig Fri Mar 30 10:01:15 2001
+++ Makefile.in Sun Jul 20 01:36:17 2003
@@ -31,7 +31,7 @@
# -Wall For GCC compilers, the -Wall flag turns on lots of additional
# warning checks. You can safely ignore any warnings about
@@ -9,3 +9,22 @@

# Compiler flags -- These flags are passed only to the compiler.
# Common flags include:
@@ -72,7 +72,7 @@
mandir = @mandir@

epic = @epic@
-epic_exe = $(bindir)/$(epic)
+epic_exe = $(epic)
wserv_exe = $(libexecdir)/wserv
epicdir = $(sharedir)/$(epic)

@@ -124,8 +124,7 @@
if ./my_test -f $(IP)$(EPIC_LINK); then \
$(MV) $(IP)$(EPIC_LINK) $(IP)$(EPIC_OLD); \
fi; \
- $(RM) $(IP)$(EPIC_LINK); \
- ln -s $(IP)$(EPIC) $(IP)$(EPIC_LINK); \
+ ln -s $(EPIC) $(EPIC_LINK); \
fi

#

0 comments on commit 40f06c5

Please sign in to comment.
You can’t perform that action at this time.