diff options
author | tron <tron@pkgsrc.org> | 1999-07-24 21:01:17 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-07-24 21:01:17 +0000 |
commit | 9845159f269e2a69f9ab09a6206f2dda8d01c665 (patch) | |
tree | e9d08d1bd3bfab7eb2263fd1e8658d575f9fd958 /x11 | |
parent | 1d49b9d9a7f4f1a4070ad752e122566e93563dd7 (diff) | |
download | pkgsrc-9845159f269e2a69f9ab09a6206f2dda8d01c665.tar.gz |
Make this package work on ELF systems.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/tix/Makefile | 5 | ||||
-rw-r--r-- | x11/tix/files/patch-sum | 6 | ||||
-rw-r--r-- | x11/tix/patches/patch-ac | 96 | ||||
-rw-r--r-- | x11/tix/pkg/PLIST | 5 |
4 files changed, 100 insertions, 12 deletions
diff --git a/x11/tix/Makefile b/x11/tix/Makefile index 1db0bdf63ce..f8247d2000f 100644 --- a/x11/tix/Makefile +++ b/x11/tix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/04/26 19:30:27 garbled Exp $ +# $NetBSD: Makefile,v 1.9 1999/07/24 21:01:17 tron Exp $ # $FreeBSD Id: Makefile,v 1.15 1998/03/17 07:55:17 tg Exp DISTNAME= Tix4.1.0.006 @@ -11,9 +11,10 @@ MAINTAINER= rh@vip.at DEPENDS+= tk-8.0.5:../../x11/tk80 USE_X11= yes +USE_LIBTOOL= yes WRKSRC= ${WRKDIR}/Tix4.1.0/unix/tk8.0 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared --enable-sam \ +CONFIGURE_ARGS= --enable-sam \ --with-tcl="${PREFIX}/include/tcl8.0" \ --with-tk="${PREFIX}/include/tk8.0" diff --git a/x11/tix/files/patch-sum b/x11/tix/files/patch-sum index 957610928e3..b4643d6ae22 100644 --- a/x11/tix/files/patch-sum +++ b/x11/tix/files/patch-sum @@ -1,5 +1,5 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 14:23:30 agc Exp $ +$NetBSD: patch-sum,v 1.2 1999/07/24 21:01:18 tron Exp $ MD5 (patch-aa) = f1c3357b47b0c1bdd0ba9c55c777ed2b -MD5 (patch-ab) = 413329087885aa021b2625a8e155c016 -MD5 (patch-ac) = 3bc46e4c58d34eb907be62a6d0424260 +MD5 (patch-ab) = 2ffa4e3936cc552f58d225d1015be9bb +MD5 (patch-ac) = 794c51ef8fab68475722d98c0613bdbd diff --git a/x11/tix/patches/patch-ac b/x11/tix/patches/patch-ac index 0d3b385bfe6..fc3176237eb 100644 --- a/x11/tix/patches/patch-ac +++ b/x11/tix/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.5 1999/04/23 23:16:56 tron Exp $ +$NetBSD: patch-ac,v 1.6 1999/07/24 21:01:18 tron Exp $ --- Makefile.in.orig Thu Sep 25 20:32:45 1997 -+++ Makefile.in Sat Apr 24 01:03:47 1999 ++++ Makefile.in Sat Jul 24 22:40:29 1999 @@ -29,7 +29,7 @@ # Directory in which to install the library of Tix scripts and demos # (note: you can set the TIX_LIBRARY environment variable at run-time to @@ -34,6 +34,33 @@ $NetBSD: patch-ac,v 1.5 1999/04/23 23:16:56 tron Exp $ #---------------------------------------------------------------- +@@ -88,7 +88,7 @@ + # modify any of this stuff by hand. + #---------------------------------------------------------------- + +-CC = @CC@ ++CC = $(LIBTOOL) @CC@ + + SHLIB_CFLAGS = @SHLIB_CFLAGS@ + SHLIB_LD = @SHLIB_LD@ +@@ -105,7 +105,7 @@ + AC_FLAGS = @DEFS@ @TIX_DEFS@ + RANLIB = @RANLIB@ + INSTALL = @TIX_SRC_DIR@/install.sh -c +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_PROGRAM = $(LIBTOOL) @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + + TIX_LIB_FILE = @TIX_LIB_FILE@ +@@ -133,7 +133,7 @@ + -I$(TCL_SRC_DIR)/unix -I$(TK_GENERIC_DIR) -I$(TK_SRC_DIR)/unix \ + $(ITCL_CFLAGS) \ + -I$(GENERIC_DIR) -I$(UNIX_DIR) $(TK_XINCLUDES) $(TIX_SHLIB_CFLAGS) \ +- -DTIX_LIBRARY=\"${TIX_LIBRARY}\" ++ -DTIX_LIBRARY=\"$(TIX_LIBRARY)\" + + #---------------------------------------------------------------- + # The information below should be usable as is. You shouldn't need @@ -211,29 +211,29 @@ # scripts of TK must be included in the fixed order. #---------------------------------------------------------------------- @@ -85,12 +112,69 @@ $NetBSD: patch-ac,v 1.5 1999/04/23 23:16:56 tron Exp $ $(SRC_DIR)/generic/tk8.0/console.tcl TIX_SCRIPTS = \ -@@ -265,7 +265,7 @@ +@@ -241,12 +241,10 @@ + $(SRC_DIR)/library/pref/*.csc \ + $(SRC_DIR)/library/*.tcl + +-all: $(TIX_LIB_FILE) $(TIX_EXE_FILE) @TIX_SAM_TARGETS@ ++all: $(TIX_LIB_FILE:.a=.la) $(TIX_EXE_FILE) $(TIX_SAM_TARGETS:.a=.la) - $(TIX_EXE_FILE): tixAppInit.o $(TIX_LIB_FILE) - $(CC) @LD_FLAGS@ tixAppInit.o @TIX_BUILD_LIB_SPEC@ $(LIBS) \ +-$(TIX_LIB_FILE): $(OBJS) +- rm -f $(TIX_LIB_FILE) +- @TIX_MAKE_LIB@ +- $(RANLIB) $(TIX_LIB_FILE) ++$(TIX_LIB_FILE:.a=.la): $(OBJS) ++ $(LIBTOOL) --mode=link cc -o $(.TARGET) $(OBJS:.o=.lo) -rpath $(PREFIX)/lib -version-info 1:2 + + $(TCL_SAM_FILE): $(TCL_SAM_OBJS) + rm -f $(TCL_SAM_FILE) +@@ -258,14 +256,14 @@ + @TK_MAKE_SAM@ + $(RANLIB) $(TK_SAM_FILE) + +-$(TIX_SAM_FILE): $(TIX_SAM_OBJS) +- rm -f $(TIX_SAM_FILE) +- @TIX_MAKE_SAM@ +- $(RANLIB) $(TIX_SAM_FILE) +- +-$(TIX_EXE_FILE): tixAppInit.o $(TIX_LIB_FILE) +- $(CC) @LD_FLAGS@ tixAppInit.o @TIX_BUILD_LIB_SPEC@ $(LIBS) \ - @TIX_LD_SEARCH_FLAGS@ -o $(TIX_EXE_FILE) -+ @TIX_LD_SEARCH_FLAGS@ @LDFLAGS@ -o $(TIX_EXE_FILE) ++$(TIX_SAM_FILE:.a=.la): $(TIX_SAM_OBJS) ++ $(LIBTOOL) --mode=link cc -o $(.TARGET) $(TIX_SAM_OBJS:.o=.lo) -rpath $(PREFIX)/lib -version-info 1:2 ++ ++RPATH= -Wl,-R$(LOCALBASE)/lib -Wl,-R$(X11BASE)/lib ++ ++$(TIX_EXE_FILE): tixAppInit.o $(TIX_LIB_FILE:.a=.la) ++ $(CC) @LD_FLAGS@ tixAppInit.o @LDFLAGS@ $(RPATH) $(LIBS) \ ++ @TIX_LD_SEARCH_FLAGS@ $(TIX_LIB_FILE:.a=.la) -o $(TIX_EXE_FILE) $(TCL_SAMEXE_FILE): $(UNIX_DIR)/samAppInit.c $(TCL_SAM_FILE) $(CC) $(CC_SWITCHES) @LD_FLAGS@ -DUSE_TCL $(UNIX_DIR)/samAppInit.c \ +@@ -451,7 +449,7 @@ + ITK_LIBRARY=$(ITK_SRC_DIR)/library \ + IWIDGETS_LIBRARY=$(ITCL_ROOT_DIR)/$(IWIDGETS) \ + TIX_LIBRARY=$(SRC_DIR)/library \ +- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:. \ ++ LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):. \ + ./$(TIX_EXE_FILE) $(SRC_DIR)/tests/Driver.tcl + + sa-tests: $(TIX_SAMEXE_FILE) +@@ -473,7 +471,7 @@ + fi; \ + done; + @echo "Installing $(TIX_LIB_FILE) as $(LIB_DIR)/$(TIX_LIB_FILE)" +- @$(INSTALL_PROGRAM) $(TIX_LIB_FILE) $(LIB_DIR)/$(TIX_LIB_FILE) ++ @$(LIBTOOL) --mode=install $(INSTALL_DATA) $(TIX_LIB_FILE:.a=.la) $(LIB_INSTALL_DIR) + @echo "Installing $(TIX_EXE_FILE) as $(BIN_DIR)/$(INST_EXE)" + @$(INSTALL_PROGRAM) $(TIX_EXE_FILE) $(BIN_DIR)/$(INST_EXE) + +@@ -510,7 +508,7 @@ + fi; \ + done; + @echo "Installing $(TIX_SAM_FILE) as $(LIB_DIR)/$(TIX_SAM_FILE)" +- @$(INSTALL_PROGRAM) $(TIX_SAM_FILE) $(LIB_DIR)/$(TIX_SAM_FILE) ++ @$(LIBTOOL) --mode=install $(INSTALL_DATA) $(TIX_SAM_FILE:.a=.la) $(LIB_INSTALL_DIR) + + + install: _install_ diff --git a/x11/tix/pkg/PLIST b/x11/tix/pkg/PLIST index 21855bc3428..ff7ba42eff5 100644 --- a/x11/tix/pkg/PLIST +++ b/x11/tix/pkg/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.4 1999/04/23 22:53:28 tron Exp $ +@comment $NetBSD: PLIST,v 1.5 1999/07/24 21:01:18 tron Exp $ +bin/tixindex bin/tixwish4.1.8.0 bin/tixwish include/tix.h @@ -16,7 +17,9 @@ include/tix/generic/tixPort.h include/tix/generic/tixTList.h include/tix/unix/tixUnixInt.h include/tix/unix/tixUnixPort.h +lib/libtix4180.a lib/libtix4180.so.1.2 +lib/libtixsam4180.a lib/libtixsam4180.so.1.2 man/mann/BtnBox.n.gz man/mann/Balloon.n.gz |