freebsd-ports/x11-toolkits/tix/files/patch-ac

27 lines
875 B
Text

--- Makefile.in.orig Wed Dec 11 08:18:41 2002
+++ Makefile.in Thu Dec 25 03:14:14 2003
@@ -253,6 +253,7 @@
TIX_SCRIPTS = \
$(SRC_DIR)/library/pref/*.fsc \
$(SRC_DIR)/library/pref/*.csc \
+ $(SRC_DIR)/library/pref/WmDefault.tcl \
$(SRC_DIR)/library/*.tcl
all: $(TIX_LIB_FILE) $(TIX_EXE_FILE) @TIX_SAM_TARGETS@
@@ -261,6 +262,7 @@
rm -f $(TIX_LIB_FILE)
@TIX_MAKE_LIB@
$(TIX_RANLIB) $(TIX_LIB_FILE)
+ ln -s $(TIX_LIB_FILE) ${TIX_LIB_FILE:C/\.[0-9]+$//}
$(TCL_SAM_FILE): $(TCL_SAM_OBJS)
rm -f $(TCL_SAM_FILE)
@@ -387,7 +389,7 @@
$(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tixImgXpm.c
tixInit.o: $(GENERIC_DIR)/tixInit.c
- $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tixInit.c
+ $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tixInit.c -DTIX_LIBRARY=\"$(TIX_LIBRARY)\"
tixItcl.o: $(GENERIC_DIR)/tixItcl.c
$(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tixItcl.c