diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
commit | 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch) | |
tree | 22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /devel/allegro-devel/files/patch-makefile.in | |
parent | a33896596d7008d70bca9b6ce72347e2d7b6fd9a (diff) |
Notes
Diffstat (limited to 'devel/allegro-devel/files/patch-makefile.in')
-rw-r--r-- | devel/allegro-devel/files/patch-makefile.in | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/devel/allegro-devel/files/patch-makefile.in b/devel/allegro-devel/files/patch-makefile.in deleted file mode 100644 index ffd14b923f9f..000000000000 --- a/devel/allegro-devel/files/patch-makefile.in +++ /dev/null @@ -1,96 +0,0 @@ ---- makefile.in.orig Sun Nov 9 19:43:06 2003 -+++ makefile.in Thu Dec 11 22:25:58 2003 -@@ -20,7 +20,7 @@ - mandir = @mandir@ - libdir = @libdir@ - modulebasedir = $(libdir)/allegro --moduledir = $(modulebasedir)/$(shared_major_minor) -+moduledir = $(modulebasedir)/$(shared_version) - - EXE = - OBJ = .o -@@ -29,12 +29,13 @@ - INFO_DIR = $(infodir)/dir - DESTDIR = - --ACLOCAL = aclocal --AUTOCONF = autoconf --AUTOHEADER = autoheader -+ACLOCAL = true -+AUTOCONF = true -+AUTOHEADER = true - - INSTALL = @INSTALL@ - INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_DATA = @INSTALL_DATA@ - INSTALL_INFO = @INSTALL_INFO@ - -@@ -325,6 +326,11 @@ - full-build: lib modules programs docs - - lib: $(ALLEGRO_LIB_TARGETS) -+ @for l in alleg alld allp; do \ -+ if test -f $(LIBDIR)/lib$${l}.so.$(shared_version); then \ -+ ln -sf lib$${l}.so.$(shared_version) $(LIBDIR)/lib$${l}.so; \ -+ fi; \ -+ done - - modules: $(ALLEGRO_MODULE_TARGETS) - -@@ -436,35 +442,37 @@ - fi; \ - done - @for l in alleg alld allp; do \ -- if test -f $(LIBDIR)/lib$${l}-$(shared_version).so; then \ -- echo Installing $(LIBDIR)/lib$${l}-$(shared_version).so to $(DESTDIR)$(libdir); \ -- $(INSTALL_DATA) $(LIBDIR)/lib$${l}-$(shared_version).so $(DESTDIR)$(libdir)/; \ -+ if test -f $(LIBDIR)/lib$${l}.so.$(shared_version); then \ -+ echo Installing $(LIBDIR)/lib$${l}.so.$(shared_version) to $(libdir); \ -+ $(INSTALL_PROGRAM) $(LIBDIR)/lib$${l}.so.$(shared_version) $(libdir)/; \ - $(INSTALL_DATA) $(LIBDIR)/lib$${l}_unsharable.a $(DESTDIR)$(libdir)/; \ - fi; \ - done - @if test -n "$(ALLEGRO_MODULE_TARGETS)"; then \ - $(mkinstalldirs) $(DESTDIR)$(moduledir); \ -- for m in $(ALLEGRO_MODULE_TARGETS) modules.lst; do \ -+ for m in $(ALLEGRO_MODULE_TARGETS); do \ - echo Installing $$m to $(DESTDIR)$(moduledir); \ -- $(INSTALL_DATA) $$m $(DESTDIR)$(moduledir)/; \ -+ $(INSTALL_PROGRAM) $$m $(DESTDIR)$(moduledir)/; \ - done; \ -+ echo Installing modules.lst to $(DESTDIR)$(moduledir); \ -+ $(INSTALL_DATA) modules.lst $(DESTDIR)$(moduledir)/; \ - fi - $(mkinstalldirs) $(DESTDIR)$(bindir) - @echo Installing allegro-config to $(DESTDIR)$(bindir) -- @$(INSTALL_PROGRAM) allegro-config $(DESTDIR)$(bindir) -- @if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \ -- (cat /etc/ld.so.conf | grep $(libdir) >/dev/null || \ -- test $(libdir) = /lib || test $(libdir) = /usr/lib) \ -- && ($(LDCONFIG) $(libdir) || true) || (\ -- echo "" ; \ -- echo "Warning: shared library destination $(libdir) is not in ldd search path." ; \ -- echo "Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to include"; \ -- echo "$(libdir) each time you want to run an Allegro program." ; \ -- ) ; \ -- fi -+ @$(INSTALL_SCRIPT) allegro-config $(DESTDIR)$(bindir) -+# @if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \ -+# (cat /etc/ld.so.conf | grep $(libdir) >/dev/null || \ -+# test $(libdir) = /lib || test $(libdir) = /usr/lib) \ -+# && ($(LDCONFIG) $(libdir) || true) || (\ -+# echo "" ; \ -+# echo "Warning: shared library destination $(libdir) is not in ldd search path." ; \ -+# echo "Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to include"; \ -+# echo "$(libdir) each time you want to run an Allegro program." ; \ -+# ) ; \ -+# fi - @for l in alleg alld allp; do \ -- if test -f $(DESTDIR)$(libdir)/lib$${l}-$(shared_version).so -a \! -h $(DESTDIR)$(libdir)/lib$${l}.so.${shared_major_minor}; then \ -- (cd $(DESTDIR)$(libdir); ln -s lib$${l}-$(shared_version).so lib$${l}.so.${shared_major_minor}); \ -+ if test -f $(libdir)/lib$${l}.so.$(shared_version) -a \! -L $(libdir)/lib$${l}.so; then \ -+ (cd $(libdir); ln -s lib$${l}.so.$(shared_version) lib$${l}.so); \ - fi; \ - done - |