freebsd-ports/devel/clanlib/files/patch-ah
Maxim Sobolev 8166e86e11 Add SUSv2 compatible fcvt() function ripped from glibc. fcvt() is required by
some internal Clanlib's function (fortunately rarely used, which allowed several
clanlib-based ports live w/o it).

Prompted by:	alex (quite some time ago)
2001-01-09 23:08:59 +00:00

88 lines
4.3 KiB
Plaintext

--- Makefile.in.orig Sun Apr 9 15:17:58 2000
+++ Makefile.in Wed Jan 10 00:20:32 2001
@@ -35,7 +35,8 @@
Sources/Lua:\
Sources/Lua/tolua:\
Sources/MPEG:\
- Sources/GUI
+ Sources/GUI:\
+ Sources/Util
OBJF_GENERIC = Libs/Intermediate/cliprect.o \
Libs/Intermediate/res_surface_generic.o \
@@ -131,7 +132,8 @@
Libs/Intermediate/appconf.o \
Libs/Intermediate/thread_pthread.o \
Libs/Intermediate/mutex_pthread.o \
- Libs/Intermediate/network_delivery_socket.o
+ Libs/Intermediate/network_delivery_socket.o \
+ Libs/Intermediate/fcvt.o
OBJF_NETWORK_UNIX = Libs/Intermediate/network_delivery_unix.o \
Libs/Intermediate/network_delivery_pipe.o \
@@ -261,43 +263,43 @@
@install -d $(BIN_PREFIX)
@install -d $(LIB_PREFIX)
@for i in `find Sources/API/* -type d | grep -v CVS | sed "s/Sources\/API\///;"`; do install -d $(INC_PREFIX)/ClanLib/$$i; done
- @for i in `find Sources/API/* -type f | grep -v CVS | sed "s/Sources\/API\///;"`; do install -m 0644 Sources/API/$$i $(INC_PREFIX)/ClanLib/$$i; done
+ @for i in `find Sources/API/* -type f | grep -v CVS | sed "s/Sources\/API\///;"`; do install -c -m 0644 Sources/API/$$i $(INC_PREFIX)/ClanLib/$$i; done
@echo "Libraries are being installed in $(LIB_PREFIX)."
@install Libs/libclanCore.so.$(D_VERSION_MINOR) $(LIB_PREFIX)
@ln -s -f libclanCore.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanCore.so.$(D_VERSION_MAJOR)
@ln -s -f libclanCore.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanCore.so
@if [ -f Libs/libclanGL.so ]; then \
- install Libs/libclanGL.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+ install -c Libs/libclanGL.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
ln -s -f libclanGL.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanGL.so.$(D_VERSION_MAJOR); \
ln -s -f libclanGL.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanGL.so; \
fi
@if [ -f Libs/libclanMagick.so ]; then \
- install Libs/libclanMagick.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+ install -c Libs/libclanMagick.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
ln -s -f libclanMagick.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanMagick.so.$(D_VERSION_MAJOR); \
ln -s -f libclanMagick.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanMagick.so; \
fi
@if [ -f Libs/libclanMPEG.so ]; then \
- install Libs/libclanMPEG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+ install -c Libs/libclanMPEG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
ln -s -f libclanMPEG.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanMPEG.so.$(D_VERSION_MAJOR); \
ln -s -f libclanMPEG.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanMPEG.so; \
fi
@if [ -f Libs/libclanLua.so ]; then \
- install Libs/libclanLua.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+ install -c Libs/libclanLua.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
ln -s -f libclanLua.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanLua.so.$(D_VERSION_MAJOR); \
ln -s -f libclanLua.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanLua.so; \
fi
@if [ -f Libs/libclanGUI.so ]; then \
- install Libs/libclanGUI.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+ install -c Libs/libclanGUI.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
ln -s -f libclanGUI.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanGUI.so.$(D_VERSION_MAJOR); \
ln -s -f libclanGUI.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanGUI.so; \
fi
@if [ -f Libs/libclanMikMod.so ]; then \
- install Libs/libclanMikMod.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+ install -c Libs/libclanMikMod.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
ln -s -f libclanMikMod.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanMikMod.so.$(D_VERSION_MAJOR); \
ln -s -f libclanMikMod.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanMikMod.so; \
fi
@if [ -f Libs/libclanPNG.so ]; then \
- install Libs/libclanPNG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+ install -c Libs/libclanPNG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
ln -s -f libclanPNG.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanPNG.so.$(D_VERSION_MAJOR); \
ln -s -f libclanPNG.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanPNG.so; \
fi
@@ -306,10 +308,10 @@
install -d $(TARGET_PREFIX); \
all_targets_var="$(ALL_TARGETS)"; \
for curtarget in $$all_targets_var; do \
- install $$curtarget $(TARGET_PREFIX); \
+ install -c $$curtarget $(TARGET_PREFIX); \
done; \
fi
- @install clanlib-config $(BIN_PREFIX)
+ @install -c clanlib-config $(BIN_PREFIX)
@echo ""
@echo "Installation complete, now run 'ldconfig' as root or point the"