1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/devel/libslang/files/patch-aa
1996-10-22 19:19:58 +00:00

75 lines
3.2 KiB
Plaintext

*** src/Makefile.in.orig Mon Oct 21 09:59:29 1996
--- src/Makefile.in Tue Oct 22 06:22:51 1996
***************
*** 2,16 ****
#---------------------------------------------------------------------------
# ANSI C compiler
#---------------------------------------------------------------------------
! CC = @CC@
! CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
#---------------------------------------------------------------------------
# ELF specific (Linux)
#---------------------------------------------------------------------------
! ELF_CC = gcc
! ELF_CFLAGS = -O2 -fno-strength-reduce -fPIC
! ELF_LINK = gcc -shared -Wl,-lm,-t,-soname#
#---------------------------------------------------------------------------
# Set these values to ABSOLUTE path names
#---------------------------------------------------------------------------
--- 2,16 ----
#---------------------------------------------------------------------------
# ANSI C compiler
#---------------------------------------------------------------------------
! #CC = @CC@
! #CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
#---------------------------------------------------------------------------
# ELF specific (Linux)
#---------------------------------------------------------------------------
! ELF_CC = $(CC)
! ELF_CFLAGS = $(CFLAGS) -DPIC -fpic
! ELF_LINK = ld -Bshareable
#---------------------------------------------------------------------------
# Set these values to ABSOLUTE path names
#---------------------------------------------------------------------------
***************
*** 93,103 ****
# cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
$(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS)
-$(RM) $(ELFDIR_ELF_LIB)
! cd $(ELFDIR); $(ELF_LINK),$(ELFLIB_MAJOR) -o $(ELFLIB_MAJOR_MINOR) $(OFILES)
! cd $(ELFDIR); $(RM) $(ELFLIB); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
@echo
! @echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR). Be sure to add
! @echo $(ELFDIR) to your LD_LIBRARY_PATH environment variable.
$(OBJDIR) :
-$(MKDIR) $(OBJDIR)
$(ELFDIR) :
--- 93,101 ----
# cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
$(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS)
-$(RM) $(ELFDIR_ELF_LIB)
! cd $(ELFDIR); $(ELF_LINK) -o $(ELFLIB_MAJOR_MINOR) $(OFILES)
@echo
! @echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).
$(OBJDIR) :
-$(MKDIR) $(OBJDIR)
$(ELFDIR) :
***************
*** 123,135 ****
install-elf: $(install_lib_dir) $(install_include_dir) $(ELFDIR_ELF_LIB)
$(INSTALL_DATA) $(SRCDIR)/slang.h $(install_include_dir)
$(INSTALL_DATA) $(SRCDIR)/slcurses.h $(install_include_dir)
- -$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR)
- -$(RM) $(install_lib_dir)/$(ELFLIB)
@echo installing $(ELFLIB_MAJOR_MINOR) in $(install_lib_dir)
$(INSTALL_DATA) $(ELFDIR_ELF_LIB) $(install_lib_dir)
- @echo creating symbolic links to $(ELFLIB_MAJOR_MINOR)
- -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
- @echo You will have to run ldconfig yourself.
# -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
#---------------------------------------------------------------------------
# Housekeeping
--- 121,128 ----