ports/110508: [PATCH] print/fontforge fix install on -CURRENT

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Mon Mar 19 09:30:16 UTC 2007


>Number:         110508
>Category:       ports
>Synopsis:       [PATCH] print/fontforge fix install on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 19 09:30:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Shuvaev
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
Universitaet Wuerzburg
>Environment:
System: FreeBSD localhost.my.domain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Mar 18 18:19:17 CET 2007 root at localhost.my.domain:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Before:
The port print/fontforge installs wrong shared libraries
on -CURRENT. Namely, port installs libgdraw.so.1.10
instead of libgdraw.so.1 + symbolic link libgdraw.so,
libgunicode.so.2.3 instead of libgunicode.so.2 + libgunicode.so
in /usr/local/lib and
libgb12345.so.0.0 instead of gb12345.so.0 + gb12345.so +
in /usr/local/share/fontforge/plugins.

What has been done:
With attached patches everything works but the port
installs also static libraries and gb12345.o.
Due to this I attach also patch for pkg-plist.
The port now seems to behave identically both on 6-STABLE and
7-CURRENT systems (more or less tested).

>How-To-Repeat:
Try to install print/fontforge from the ports on -CURRENT.
>Fix:
--- patch-Makefile begins here ---
--- Makefile.orig	Sun Mar  4 18:21:20 2007
+++ Makefile	Sun Mar 18 19:51:53 2007
@@ -59,6 +59,7 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	libtool:15
 USE_GCC=	3.2+
 
 MAN1=		fontforge.1 sfddiff.1
--- patch-Makefile ends here ---


--- patch-pkg-plist begins here ---
--- pkg-plist.orig	Sat Sep  9 00:11:14 2006
+++ pkg-plist	Sun Mar 18 23:29:13 2007
@@ -1,8 +1,10 @@
 bin/fontforge
 bin/sfddiff
+lib/libgdraw.a
 lib/libgdraw.la
 lib/libgdraw.so
 lib/libgdraw.so.1
+lib/libgunicode.a
 lib/libgunicode.la
 lib/libgunicode.so
 lib/libgunicode.so.2
@@ -21,8 +23,10 @@
 %%DATADIR%%/Adobe-Japan1-6.cidmap
 %%DATADIR%%/Adobe-Japan2-0.cidmap
 %%DATADIR%%/Adobe-Korea1-2.cidmap
+%%DATADIR%%/plugins/gb12345.a
 %%DATADIR%%/plugins/gb12345.la
 %%DATADIR%%/plugins/gb12345.lai
+%%DATADIR%%/plugins/gb12345.o
 %%DATADIR%%/plugins/gb12345.so
 %%DATADIR%%/plugins/gb12345.so.0
 %%PORTDOCS%%%%DOCSDIR%%/AA-Comparison.html
@@ -735,5 +739,26 @@
 @dirrm %%DOCSDIR%%/ja/nonBMP
 @dirrm %%DOCSDIR%%/ja
 @dirrm %%DOCSDIR%%
+ at dirrmtry share/locale/es/LC_MESSAGES
+ at dirrmtry share/locale/es
+ at dirrmtry share/locale/fr/LC_MESSAGES
+ at dirrmtry share/locale/fr
 @dirrmtry share/locale/gr/LC_MESSAGES
 @dirrmtry share/locale/gr
+ at dirrmtry share/locale/it/LC_MESSAGES
+ at dirrmtry share/locale/it
+ at dirrmtry share/locale/ja/LC_MESSAGES
+ at dirrmtry share/locale/ja
+ at dirrmtry share/locale/ru/LC_MESSAGES
+ at dirrmtry share/locale/ru
+ at dirrmtry share/locale/vi/LC_MESSAGES
+ at dirrmtry share/locale/vi
+ at dirrmtry share/locale
+ at dirrmtry share/doc
+ at dirrmtry share
+ at dirrmtry man/man1
+ at dirrmtry man
+ at dirrmtry libdata/pkgconfig
+ at dirrmtry libdata
+ at dirrmtry lib
+ at dirrmtry bin
--- patch-pkg-plist ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list