1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/devel/amulet/files/patch-aa

48 lines
1.6 KiB
Plaintext
Raw Normal View History

--- bin/Makefile.lib.gcc.shared.orig Mon Jun 23 21:37:02 1997
+++ bin/Makefile.lib.gcc.shared Mon May 11 22:48:44 1998
@@ -27,6 +27,7 @@
echo "*** or upgrade to gcc 2.7.0 or later." ; \
echo "" ; false ; \
} fi
+ @touch check_gcc_version
FULL_AMULET_DEPENDENCIES = \
$(OPAL_MODULE) $(INTER_MODULE) $(DEBUG_MODULE) \
@@ -49,26 +50,22 @@
$(AMULET_LIB):: $(AMULET_LIB_DEPENDENCIES)
$(SHARED_CC) $(AM_CFLAGS) $(FULL_AMULET_DEPENDENCIES) \
-o $(LIB_DIR)/$(AMULET_lib).so.$(V)
- cd $(LIB_DIR); for p in $(AMULET_lib).sl $(AMULET_lib).so ; \
- do rm -f $$p ; ln -s $(AMULET_lib).so.$(V) $$p ; done
+ touch $(AMULET_LIB)
$(GEM_LIB): $(GEM_LIB_DEPENDENCIES)
$(SHARED_CC) $(AM_CFLAGS) $(FULL_GEM_DEPENDENCIES) \
-o $(LIB_DIR)/$(GEM_lib).so.$(V)
- cd $(LIB_DIR); for p in $(GEM_lib).sl $(GEM_lib).so ; \
- do rm -f $$p ; ln -s $(GEM_lib).so.$(V) $$p ; done
+ touch $(GEM_LIB)
$(ORE_LIB): $(ORE_LIB_DEPENDENCIES)
$(SHARED_CC) $(AM_CFLAGS) $(FULL_ORE_DEPENDENCIES) \
-o $(LIB_DIR)/$(ORE_lib).so.$(V)
- cd $(LIB_DIR); for p in $(ORE_lib).sl $(ORE_lib).so ; \
- do rm -f $$p ; ln -s $(ORE_lib).so.$(V) $$p ; done
+ touch $(ORE_LIB)
$(UTILS_LIB): $(UTILS_LIB_DEPENDENCIES)
$(SHARED_CC) $(AM_CFLAGS) $(FULL_UTILS_DEPENDENCIES) \
-o $(LIB_DIR)/$(UTILS_lib).so.$(V)
- cd $(LIB_DIR); for p in $(UTILS_lib).sl $(UTILS_lib).so ; \
- do rm -f $$p ; ln -s $(UTILS_lib).so.$(V) $$p ; done
+ touch $(UTILS_LIB)
# Use these declarations to compile tests against monolithic shared libs.
@@ -91,4 +88,4 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
.cc.o:
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(CFLAGS) -fpic -c $< -o $@