Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2008 22:34:50 GMT
From:      David Barksdale <amatus@gnu.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121769: Update port: devel/cdialog
Message-ID:  <200803162234.m2GMYoTd093407@www.freebsd.org>
Resent-Message-ID: <200803162240.m2GMe33I096915@freefall.freebsd.org>

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

>Number:         121769
>Category:       ports
>Synopsis:       Update port: devel/cdialog
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 16 22:40:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     David Barksdale
>Release:        
>Organization:
>Environment:
>Description:
This patch adds libtoolized shared libraries and allows the objects to be linked into PIC code.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/devel/cdialog/Makefile devel/cdialog/Makefile
--- /usr/ports/devel/cdialog/Makefile	2008-02-05 00:13:40.570407132 -0600
+++ devel/cdialog/Makefile	2008-03-15 20:37:32.376612083 -0500
@@ -8,6 +8,7 @@
 
 PORTNAME=	cdialog
 PORTVERSION=	1.1.20071028
+PORTREVISION=   1
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	ftp://invisible-island.net/dialog/ \
@@ -20,7 +21,8 @@
 COMMENT=	An enhanced version of 'dialog' to work with ncurses
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--includedir=${PREFIX}/include/${PORTNAME}
+USE_LDCONFIG=   yes
+CONFIGURE_ARGS=	--includedir=${PREFIX}/include/${PORTNAME} --with-libtool
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 MAKEFILE=	makefile
 
diff -ruN /usr/ports/devel/cdialog/files/patch-makefile.in devel/cdialog/files/patch-makefile.in
--- /usr/ports/devel/cdialog/files/patch-makefile.in	2007-04-10 00:40:23.000000000 -0500
+++ devel/cdialog/files/patch-makefile.in	2008-03-15 19:56:20.797582625 -0500
@@ -1,6 +1,24 @@
---- makefile.in.orig	Sun Mar 25 22:23:30 2007
-+++ makefile.in	Sun Apr  8 18:46:09 2007
-@@ -153,7 +153,7 @@
+--- makefile.in	2008-03-15 19:55:17.680943499 -0500
++++ makefile.in	2008-03-15 19:55:36.656135598 -0500
+@@ -102,7 +102,7 @@
+ 	dlg_config.h \
+ 	dlg_keys.h
+ 
+-LIB	= @LIB_PREFIX@dialog$a
++LIB	= @LIB_PREFIX@cdialog$a
+ PROG	= dialog$x
+ ALL	= $(LIB) $(PROG)
+ 
+@@ -126,7 +126,7 @@
+ 	$(RANLIB) $@
+ 
+ dialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
+-	$(LINK) -o $@ dialog$o -L. -ldialog $(LDFLAGS) $(LIBS)
++	$(LINK) -o $@ dialog$o -L. -lcdialog $(LDFLAGS) $(LIBS)
+ 
+ clean	\
+ distclean \
+@@ -159,7 +159,7 @@
  	@echo "made $@"
  
  install-strip :: $(PROG) $(BINDIR)
@@ -9,7 +27,7 @@
  
  uninstall :: uninstall-bin uninstall-man
  	@echo "made $@"
-@@ -168,7 +168,7 @@
+@@ -174,7 +174,7 @@
  	$(RM) $(BINDIR)/$(PACKAGE)$x
  
  install-man :: $(MAN1DIR)
@@ -18,7 +36,7 @@
  
  uninstall-man ::
  	$(RM) $(MAN1DIR)/$(PACKAGE).1
-@@ -176,11 +176,11 @@
+@@ -182,7 +182,7 @@
  # most users do not want/need the library, so the install rules are distinct.
  install-lib :: $(BINDIR) dialog-config
  	@ echo "** installing config script in $(BINDIR)"
@@ -27,12 +45,7 @@
  
  install-lib :: $(LIB_DIRS) $(LIB) headers.sed
  	@ echo "** installing library in $(LIBDIR)"
--	@ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR)
-+	@ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR)/@LIB_PREFIX@cdialog$a
- 	@ echo "** installing headers in $(INCLUDEDIR)"
- 	@ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dialog.h
- 	@ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dlg_colors.h
-@@ -198,7 +198,7 @@
+@@ -204,7 +204,7 @@
  	$(RM) $(INCLUDEDIR)/dlg_config.h
  
  install-lib :: $(MAN3DIR)
diff -ruN /usr/ports/devel/cdialog/pkg-plist devel/cdialog/pkg-plist
--- /usr/ports/devel/cdialog/pkg-plist	2008-02-05 00:13:40.612407442 -0600
+++ devel/cdialog/pkg-plist	2008-03-15 20:00:53.812347351 -0500
@@ -5,6 +5,9 @@
 include/cdialog/dlg_config.h
 include/cdialog/dlg_keys.h
 lib/libcdialog.a
+lib/libcdialog.la
+lib/libcdialog.so
+lib/libcdialog.so.6
 %%EXAMPLESDIR%%/README
 %%EXAMPLESDIR%%/calendar
 %%EXAMPLESDIR%%/calendar-stdout


>Release-Note:
>Audit-Trail:
>Unformatted:



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