Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 1999 00:23:36 +0300 (MSK)
From:      Dima Sivachenko <dima@Chg.RU>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/10053: Addition to pr/10036
Message-ID:  <199902122123.AAA19371@netserv1.chg.ru>

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

>Number:         10053
>Category:       ports
>Synopsis:       Addition to pr/10036
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 12 13:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dima Sivachenko
>Release:        FreeBSD 3.0-980520-SNAP i386
>Organization:
>Environment:

	

>Description:

Dear commiter who will deal with pr/10036 (new port - fltk).
Please apply this patch before looking at this port.
Thanks.

>How-To-Repeat:

	

>Fix:
	

diff -Nur fltk.old/Makefile fltk/Makefile
--- fltk.old/Makefile	Fri Feb 12 21:44:25 1999
+++ fltk/Makefile	Sat Feb 13 00:09:22 1999
@@ -17,10 +17,12 @@
 USE_X_PREFIX=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX}
+CONFIGURE_ARGS=	--enable-shared
 
 post-install:
 
+		@ ${INSTALL_DATA} ${WRKSRC}/lib/libfltk.so.1.0 ${PREFIX}/lib
+		@ ${LDCONFIG} -m
 .if !defined(NOPORTDOCS)
 		@ ${MKDIR} ${PREFIX}/share/doc/fltk
 		@ ${INSTALL_DATA} ${WRKSRC}/documentation/FL.gif ${PREFIX}/share/doc/fltk
diff -Nur fltk.old/patches/patch-ab fltk/patches/patch-ab
--- fltk.old/patches/patch-ab	Thu Jan  1 03:00:00 1970
+++ fltk/patches/patch-ab	Fri Feb 12 23:57:12 1999
@@ -0,0 +1,11 @@
+--- makeinclude.in.orig	Fri Feb 12 23:56:37 1999
++++ makeinclude.in	Fri Feb 12 23:57:00 1999
+@@ -42,7 +42,7 @@
+ CXXFLAGS	=@CXXFLAGS@ @X_CFLAGS@
+ 
+ # program to make the archive:
+-LIBNAME		=@LIBNAME@
++LIBNAME		=libfltk.so.1.0
+ LIBCOMMAND	=@LIBCOMMAND@
+ RANLIB		=@RANLIB@
+ 
diff -Nur fltk.old/pkg/PLIST fltk/pkg/PLIST
--- fltk.old/pkg/PLIST	Fri Feb 12 21:44:25 1999
+++ fltk/pkg/PLIST	Fri Feb 12 23:13:00 1999
@@ -1,4 +1,6 @@
-lib/libfltk.a
+lib/libfltk.so.1
+@exec /sbin/ldconfig -m %D/lib
+@unexec /sbin/ldconfig -R
 bin/fluid
 include/FL/Fl_Image.H
 include/FL/Enumerations.H
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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