summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk83/files
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-09-01 11:46:55 +0000
committerjkh <jkh@FreeBSD.org>1997-09-01 11:46:55 +0000
commit6f3dd7db53cd57588b31af0b798a778766f863b5 (patch)
tree4d2fca8a4d9a8d66535dbcdc5352981304895982 /x11-toolkits/tk83/files
parent6d57e9069eb9fa18fb3cbc9d60c24a25efb9c606 (diff)
downloadFreeBSD-ports-6f3dd7db53cd57588b31af0b798a778766f863b5.zip
FreeBSD-ports-6f3dd7db53cd57588b31af0b798a778766f863b5.tar.gz
Build and install static library also.
Submitted by: "Justin M. Seger" <jseger@freebsd.scds.com>
Diffstat (limited to 'x11-toolkits/tk83/files')
-rw-r--r--x11-toolkits/tk83/files/patch-ab36
1 files changed, 32 insertions, 4 deletions
diff --git a/x11-toolkits/tk83/files/patch-ab b/x11-toolkits/tk83/files/patch-ab
index caed3ac..9bccfff 100644
--- a/x11-toolkits/tk83/files/patch-ab
+++ b/x11-toolkits/tk83/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Aug 15 13:17:51 1997
-+++ Makefile.in Wed Aug 20 11:35:31 1997
+--- Makefile.in.orig Fri Aug 15 16:17:51 1997
++++ Makefile.in Sun Aug 31 21:36:30 1997
@@ -56,7 +56,7 @@
BIN_DIR = $(exec_prefix)/bin
@@ -32,7 +32,35 @@
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-@@ -357,7 +357,8 @@
+@@ -290,6 +290,11 @@
+ @MAKE_LIB@
+ $(RANLIB) @TK_LIB_FILE@
+
++libtk80.a: ${OBJS}
++ rm -f libtk80.a
++ ar cr libtk80.a ${OBJS}
++ $(RANLIB) libtk80.a
++
+ # Make target which outputs the list of the .o contained in the Tk lib
+ # usefull to build a single big shared library containing Tcl/Tk and other
+ # extensions. used for the Tcl Plugin. -- dl
+@@ -340,7 +345,7 @@
+ # some ranlibs write to current directory, and this might not always be
+ # possible (e.g. if installing as root).
+
+-install-binaries: $(TK_LIB_FILE) wish
++install-binaries: $(TK_LIB_FILE) libtk80.a wish
+ @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
+ do \
+ if [ ! -d $$i ] ; then \
+@@ -354,10 +359,15 @@
+ @$(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)
++ @echo "Installing libtk80.a"
++ @$(INSTALL_DATA) libtk80.a $(LIB_INSTALL_DIR)/libtk80.a
++ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtk80.a)
++ @chmod 555 $(LIB_INSTALL_DIR)/libtk80.a
@echo "Installing wish"
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
@@ -42,7 +70,7 @@
install-libraries:
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
-@@ -430,28 +431,28 @@
+@@ -430,28 +440,28 @@
@cd $(SRC_DIR)/doc; for i in *.1; \
do \
echo "Installing doc/$$i"; \
OpenPOWER on IntegriCloud