Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 1997 00:27:39 +0800 (CST)
From:      frankch@waru.life.nthu.edu.tw
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5338: slight change in devel/libslang port
Message-ID:  <199712181627.AAA17871@waru.life.nthu.edu.tw>
Resent-Message-ID: <199712181710.JAA03905@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5338
>Category:       ports
>Synopsis:       change in devel/libslang port
>Confidential:   yes
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 18 09:10:01 PST 1997
>Last-Modified:
>Originator:     Frank Chen Hsiung Chan
>Organization:
Depart of Life Science, National Tsing Hua University,
                 HsinChu, Taiwan
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:

	FreeBSD 2.2.5 STABLE

>Description:

	
	The libslang port should be linked to libtermcap.
	Under normal condition, any app that utilize libslang should
	also link to libtermcap. Unfortunately, It's difficult to check
	all the apps in ports collection which depend on libslang. Even
	we could do that, many ports do not explicitly specify the
	dependancy. For example, aalib. Aalib works with X and slang,
	yet the slang part is not working due to the dependancy and
	libtermcap problem.

>How-To-Repeat:

	

>Fix:
	
	The following patch modify devel/libslang/patch/patch-aa. It add
	${TCAPLIB} in the building of shared libslang.so.
	I think this also change the content diff into a unified diff.

xxxxxxxxxxxxxxxxxxxxxxxxxxx cut here xxxxxxxxxxxxxxxxxxxxxxxxxxxx
--- patches/patch-aa.orig	Fri Dec 19 00:03:37 1997
+++ patches/patch-aa	Fri Dec 19 00:09:28 1997
@@ -1,76 +1,52 @@
-*** src/Makefile.in.orig	Tue Jan 21 20:21:34 1997
---- src/Makefile.in	Mon Jan 27 23:49:32 1997
-***************
-*** 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).
-- 	@echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
-  	@echo ""
-  $(OBJDIR) :
-  	-$(MKDIR) $(OBJDIR)
---- 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).
-  	@echo ""
-  $(OBJDIR) :
-  	-$(MKDIR) $(OBJDIR)
-***************
-*** 124,138 ****
-  install-elf: 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)
-- 	-$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR)
-  	@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_MINOR) $(ELFLIB)
-  	@echo ""
-  	@echo $(ELFLIB_MAJOR_MINOR) created in $(install_lib_dir).
-- 	@echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
-  	@echo ""
-  install-links:
-  	-$(RM) $(install_lib_dir)/$(ELFLIB)
---- 122,131 ----
+--- Makefile.in.orig	Wed Jan 22 01:21:34 1997
++++ Makefile.in	Fri Dec 19 00:09:11 1997
+@@ -2,15 +2,15 @@
+ #---------------------------------------------------------------------------
+ # ANSI C compiler
+ #---------------------------------------------------------------------------
+-CC              = @CC@
+-CFLAGS 		= @CFLAGS@
++#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#
++ELF_CC          = $(CC)
++ELF_CFLAGS      = $(CFLAGS) -DPIC -fpic
++ELF_LINK        = ld -Bshareable
+ #---------------------------------------------------------------------------
+ # Set these values to ABSOLUTE path names
+ #---------------------------------------------------------------------------
+@@ -93,11 +93,9 @@
+ #	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)
++	cd $(ELFDIR); $(ELF_LINK) -o $(ELFLIB_MAJOR_MINOR) $(OFILES) $(TCAPLIB)
+ 	@echo ""
+ 	@echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).
+-	@echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
+ 	@echo ""
+ $(OBJDIR) :
+ 	-$(MKDIR) $(OBJDIR)
+@@ -124,15 +122,10 @@
+ install-elf: 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)
+-	-$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR)
+ 	@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_MINOR) $(ELFLIB)
+ 	@echo ""
+ 	@echo $(ELFLIB_MAJOR_MINOR) created in $(install_lib_dir).
+-	@echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
+ 	@echo ""
+ install-links:
+ 	-$(RM) $(install_lib_dir)/$(ELFLIB)
xxxxxxxxxxxxxxxxxxxxxxxxxxxx cut here xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712181627.AAA17871>