diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-30 10:25:34 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-30 10:25:34 +0000 |
commit | 2df76eb0a73bb59d817aa60758a5f10e3e544c3b (patch) | |
tree | 07e10c49034b87755dafb03956ad93c5363e0bb7 /japanese/tcl76/files/patch-aa | |
parent | - Update to 1.7.8 (diff) |
- Remove support for a.out format and PORTOBJFORMAT variable from individual
ports
With hat: portmgr
Diffstat (limited to '')
-rw-r--r-- | japanese/tcl76/files/patch-aa | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/japanese/tcl76/files/patch-aa b/japanese/tcl76/files/patch-aa index ea4b612c931f..5c1a620aa778 100644 --- a/japanese/tcl76/files/patch-aa +++ b/japanese/tcl76/files/patch-aa @@ -20,13 +20,11 @@ # To disable ANSI-C procedure prototypes reverse the comment characters # on the following lines: -@@ -305,6 +307,9 @@ +@@ -305,6 +307,7 @@ rm -f ${TCL_LIB_FILE} @MAKE_LIB@ $(RANLIB) ${TCL_LIB_FILE} -+.if ${PORTOBJFORMAT}X == elfX + ln -sf ${TCL_LIB_FILE} `echo ${TCL_LIB_FILE} | sed 's/\.so.*$$/.so/'` -+.endif tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE} ${CC} @LD_FLAGS@ ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \ @@ -39,13 +37,11 @@ # Note: before running ranlib below, must cd to target directory because # some ranlibs write to current directory, and this might not always be -@@ -385,15 +390,19 @@ +@@ -385,15 +390,17 @@ @echo "Installing $(TCL_LIB_FILE)" @$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE)) -+.if ${PORTOBJFORMAT}X == elfX + @(cd $(LIB_INSTALL_DIR); ln -sf ${TCL_LIB_FILE} `echo ${TCL_LIB_FILE} | sed 's/\.so.*$$/.so/'`) -+.endif @chmod 555 $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) @echo "Installing tclsh" @$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION) |