diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-15 09:57:40 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-15 09:57:40 +0000 |
commit | 64f27831d3b2c6bb60adb149a84a641f4234171c (patch) | |
tree | 9710d83d06a29a1d4048802ec27fb1447d442e21 /devel/ode-devel/files | |
parent | b9c2737da77cc503d91bd70425c0009dbd6d18ae (diff) | |
download | ports-64f27831d3b2c6bb60adb149a84a641f4234171c.tar.gz ports-64f27831d3b2c6bb60adb149a84a641f4234171c.zip |
Notes
Diffstat (limited to 'devel/ode-devel/files')
-rw-r--r-- | devel/ode-devel/files/patch-Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/ode-devel/files/patch-Makefile b/devel/ode-devel/files/patch-Makefile new file mode 100644 index 000000000000..c20ead90b1c8 --- /dev/null +++ b/devel/ode-devel/files/patch-Makefile @@ -0,0 +1,28 @@ +--- Makefile.orig Fri Jul 11 02:37:58 2003 ++++ Makefile Thu Oct 16 21:14:17 2003 +@@ -280,13 +280,13 @@ + -$(DEL_CMD) $(ODE_OBJECTS) $(ODE_TEST_EXE) $(ODE_LIB) $(DRAWSTUFF_OBJECTS) $(DRAWSTUFF_TEST_EXE) $(DRAWSTUFF_LIB) ode/test/*$(OBJ) drawstuff/dstest/*$(OBJ) $(CONFIGURATOR_EXE) $(CONFIG_H) + + %$(OBJ): %.c +- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OPT)1 $(C_OUT)$@ $< ++ $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OUT)$@ $< + + %$(OBJ): %.cpp +- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(INC_OPCODE) $(DEFINES) $(C_OPT)$(OPT) $(C_OUT)$@ $< ++ $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(INC_OPCODE) $(DEFINES) $(C_OUT)$@ $< + + %.exe: %$(OBJ) +- $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(OPCODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) ++ $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(OPCODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) ${LDFLAGS} + + + # windows specific rules +@@ -308,7 +308,7 @@ + + # unix-gcc specific dependency making + +-DEP_RULE=gcc -M $(C_INC)$(INCPATH) $(DEFINES) ++DEP_RULE=${CC} -M $(C_INC)$(INCPATH) $(DEFINES) + depend: + $(DEP_RULE) $(ODE_SRC) $(ODE_PREGEN_SRC) $(ODE_OLD_COLLISION_SRC) $(ODE_NEW_COLLISION_SRC) | tools/process_deps ode/src/ > Makefile.deps + $(DEP_RULE) $(DRAWSTUFF_SRC) | tools/process_deps drawstuff/src/ >> Makefile.deps |