ports/147124: Minor change in pkg-plist graphics/togl

Stas Timokhin devel at stasyan.com
Thu May 27 10:10:03 UTC 2010


>Number:         147124
>Category:       ports
>Synopsis:       Minor change in pkg-plist graphics/togl
>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:   Thu May 27 10:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Stas Timokhin
>Release:        8.0-release
>Organization:
None
>Environment:
>Description:
Future version of cad/netgen (4.9.13) will need additional header and share library from this port.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2010-05-27 15:58:11.000000000 +0700
+++ Makefile	2010-05-27 16:58:59.000000000 +0700
@@ -7,7 +7,7 @@
 
 PORTNAME=	togl
 PORTVERSION=	1.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics tk
 MASTER_SITES=	SF/${PORTNAME}/Togl/${PORTVERSION}
 DISTNAME=	Togl-${PORTVERSION}
@@ -42,8 +42,10 @@
 
 do-install:
 	@${MKDIR} ${TOGL_INSTDIR}
-	${INSTALL_DATA} ${WRKSRC}/libTogl1.7.so ${TOGL_INSTDIR}/togl.so
-	${INSTALL_DATA} ${WRKSRC}/togl.h ${WRKSRC}/pkgIndex.tcl ${TOGL_INSTDIR}
+	${INSTALL_DATA} ${WRKSRC}/libTogl1.7.so ${TOGL_INSTDIR}/libTogl1.7.so
+	${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so  ${TOGL_INSTDIR}/libtogl.so.1
+	${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so  ${PREFIX}/lib/libtogl.so.1
+	${INSTALL_DATA} ${WRKSRC}/togl.h ${WRKSRC}/togl_ws.h ${WRKSRC}/pkgIndex.tcl ${TOGL_INSTDIR}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/Makefile ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h ${EXAMPLESDIR}
--- pkg-plist.orig	2010-05-27 15:57:43.000000000 +0700
+++ pkg-plist	2010-05-27 16:58:28.000000000 +0700
@@ -1,5 +1,8 @@
-%%TOGL_INSTDIR%%/togl.so
+%%TOGL_INSTDIR%%/libTogl1.7.so
+%%TOGL_INSTDIR%%/libtogl.so.1
+lib/libtogl.so.1
 %%TOGL_INSTDIR%%/togl.h
+%%TOGL_INSTDIR%%/togl_ws.h
 %%TOGL_INSTDIR%%/pkgIndex.tcl
 @dirrm %%TOGL_INSTDIR%%
 %%EXAMPLESDIR%%/Makefile


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



More information about the freebsd-ports-bugs mailing list