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/tk42/files/patch-ab | |
parent | - Update to 1.7.8 (diff) |
- Remove support for a.out format and PORTOBJFORMAT variable from individual
ports
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=183698
Diffstat (limited to 'japanese/tk42/files/patch-ab')
-rw-r--r-- | japanese/tk42/files/patch-ab | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/japanese/tk42/files/patch-ab b/japanese/tk42/files/patch-ab index d4d4de916649..357e762323ec 100644 --- a/japanese/tk42/files/patch-ab +++ b/japanese/tk42/files/patch-ab @@ -34,13 +34,11 @@ # To turn off the security checks that disallow incoming sends when # the X server appears to be insecure, reverse the comments on the -@@ -291,6 +293,9 @@ +@@ -291,6 +293,7 @@ rm -f @TK_LIB_FILE@ @MAKE_LIB@ $(RANLIB) @TK_LIB_FILE@ -+.if ${PORTOBJFORMAT}X == elfX + ln -sf ${TK_LIB_FILE} `echo ${TK_LIB_FILE} | sed 's/\.so.*$$/.so/'` -+.endif wish: $(WISH_OBJS) $(TK_LIB_FILE) $(CC) @LD_FLAGS@ $(WISH_OBJS) @TK_BUILD_LIB_SPEC@ $(LIBS) \ @@ -59,13 +57,11 @@ # Note: before running ranlib below, must cd to target directory because # some ranlibs write to current directory, and this might not always be -@@ -332,13 +337,18 @@ +@@ -332,13 +337,16 @@ @$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE)) @chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) -+.if ${PORTOBJFORMAT}X == elfX + @(cd $(LIB_INSTALL_DIR); ln -sf ${TK_LIB_FILE} `echo ${TK_LIB_FILE} | sed 's/\.so.*$$/.so/'`) -+.endif @echo "Installing wish" @$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION) @echo "Installing tkConfig.sh" |