Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 23:25:26 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36146: imlib-1.9.13 does not install headers
Message-ID:  <200203202025.g2KKPQ460633@woozle.rinet.ru>

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

>Number:         36146
>Category:       ports
>Synopsis:       imlib-1.9.13 does not install headers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 20 12:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD 4-STABLE i386
>Organization:
Cronyx Plus LLC (RiNet ISP)
>Environment:
System: FreeBSD 4-STABLE. Ports tree as of today.


	
>Description:

current imlib port does not install files needed for other ports, namely:

include/gdk_imlib.h
include/gdk_imlib_private.h
include/gdk_imlib_types.h
lib/libgdk_imlib.a
lib/libgdk_imlib.so


>How-To-Repeat:

cd /usr/ports/graphics/imlib && make install
cd /usr/ports/x11/gnomelibs && make

>Fix:

I don't know the correct way to fix this. 
Either patch Makefile.in's or make additional after-install target 
in port Makefile should help.

The latter is here:


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/imlib/Makefile,v
retrieving revision 1.80
diff -u -r1.80 Makefile
--- Makefile	2002/03/15 07:12:55	1.80
+++ Makefile	2002/03/20 20:25:13
@@ -35,4 +35,11 @@
 pre-configure:
 	${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in
 
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/gdk_imlib.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/gdk_imlib_private.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/gdk_imlib_types.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/gdk_imlib/.libs/libgdk_imlib.a ${PREFIX}/lib
+	${LN} -sf libgdk_imlib.so.5 ${PREFIX}/lib/libgdk_imlib.so
+
 .include <bsd.port.mk>
>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?200203202025.g2KKPQ460633>