freebsd-ports/devel/libslang/files/patch-src_Makefile.in
Renato Botelho 767dccfd86 - Add more MASTER_SITES
- rename patch-a[ae]
2005-12-01 16:38:04 +00:00

50 lines
2.2 KiB
Text

--- src/Makefile.in.orig Sun Jan 26 07:31:27 2003
+++ src/Makefile.in Fri Feb 21 18:21:31 2003
@@ -38,7 +38,7 @@
exec_prefix = @exec_prefix@
install_lib_dir = @libdir@
install_include_dir = @includedir@
-install_doc_dir = $(prefix)/doc/slang
+install_doc_dir = $(prefix)/share/doc/slang
DOC_FILES = ../changes.txt ../COPY* ../doc/slangdoc.html ../doc/text/*.txt
MODULE_INSTALL_DIR = @libdir@/slang/modules
#---------------------------------------------------------------------------
@@ -140,7 +140,7 @@
#---------------------------------------------------------------------------
# Intallation rules
#---------------------------------------------------------------------------
-install: install_basic_lib install_docs
+install: install_basic_lib
install_basic_lib: $(DEST_LIBDIR) $(DEST_INCDIR) $(OBJDIR_NORMAL_LIB)
@echo installing $(OBJDIR_NORMAL_LIB) in $(DEST_LIBDIR)
$(INSTALL_DATA) $(OBJDIR_NORMAL_LIB) $(DEST_LIBDIR)
@@ -162,24 +162,19 @@
$(MKINSDIR) $(DEST_LIBDIR)
install-elf: elf install
-$(RM) $(DEST_LIBDIR)/$(ELFLIB)
- -$(RM) $(DEST_LIBDIR)/$(ELFLIB_MAJOR)
- @echo installing $(ELFLIB_MAJOR_MINOR) in $(DEST_LIBDIR)
+ @echo installing $(ELFLIB_MAJOR) in $(DEST_LIBDIR)
$(INSTALL_DATA) $(ELFDIR_ELF_LIB) $(DEST_LIBDIR)
- @echo creating symbolic links to $(ELFLIB_MAJOR_MINOR)
- -cd $(DEST_LIBDIR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
- -cd $(DEST_LIBDIR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB)
+ @echo creating symbolic links to $(ELFLIB_MAJOR)
+ -cd $(DEST_LIBDIR); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
@echo ""
- @echo $(ELFLIB_MAJOR_MINOR) created in $(DEST_LIBDIR).
- @echo The links $(ELFLIB) and $(ELFLIB_MAJOR) to $(ELFLIB_MAJOR_MINOR) were also created.
+ @echo $(ELFLIB_MAJOR) created in $(DEST_LIBDIR).
+ @echo The links $(ELFLIB) to $(ELFLIB_MAJOR) were also created.
@echo ""
install-links:
-$(RM) $(DEST_LIBDIR)/$(ELFLIB)
- -$(RM) $(DEST_LIBDIR)/$(ELFLIB_MAJOR)
- cd $(DEST_LIBDIR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
cd $(DEST_LIBDIR); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
@echo
@echo A link $(ELFLIB_MAJOR) to $(ELFLIB_MAJOR_MINOR) was created.
- @echo A link $(ELFLIB) to $(ELFLIB_MAJOR) was created.
@echo ""
#---------------------------------------------------------------------------
# Tests