Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 21:24:53 +0900 (JST)
From:      KANOU Hiroki <kanou@mil.allnet.ne.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        kanou@mil.allnet.ne.jp
Subject:   ports/26512: in port graphics/ming, some include files are not installed
Message-ID:  <200104121224.VAA09234@kappa.allnet.ne.jp>

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

>Number:         26512
>Category:       ports
>Synopsis:       some include files are not installed in port graphics/ming.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 12 05:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KANOU Hiroki <kanou@mil.allnet.ne.jp>
>Release:        FreeBSD 4.3-RC i386
>Organization:
>Environment:
System: FreeBSD tin 4.3-RC FreeBSD 4.3-RC #0: Wed Apr 11 20:24:04 JST 2001 kanou@tin:/usr/src/sys/compile/TIN i386

Port graphics/ming installed.

>Description:

A program which include /usr/local/include/ming/ming.h and/or other include
files installed by graphics/ming port fails to compile because of some 
include files referenced from /usr/local/include/ming/{*,*/*}.h are not
installed by that port.

>How-To-Repeat:

Preprecess this C program by 'cc -E -I/usr/local/include'.

    #include <ming/ming.h>
    int main(void)
    {
        return 0;
    }

Or, type like this.

    cd /usr/local/include/ming
    find . -name \*.h | sed 's%./\(.*\)%#include <ming/\1>%' > /tmp/mingtest.c 
    cc -E -I/usr/local/include /tmp/mingtest.c > /dev/null

When no error occurred, no message is printed.

>Fix:


Apply these patches at /usr/ports/graphics/ming.

--- files/Makefile~	Fri Mar 23 13:47:27 2001
+++ files/Makefile	Thu Apr 12 16:07:13 2001
@@ -84,6 +84,12 @@
 
 beforeinstall:
 	${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
-		${.CURDIR}/blocks/swf.h ${INCDIR}/blocks/
+		${.CURDIR}/blocks/block.h ${.CURDIR}/blocks/cxform.h \
+		${.CURDIR}/blocks/matrix.h ${.CURDIR}/blocks/outputblock.h \
+		${.CURDIR}/blocks/sound.h ${.CURDIR}/blocks/sprite.h \
+		${.CURDIR}/blocks/swf.h ${.CURDIR}/blocks/blocktypes.h \
+		${.CURDIR}/blocks/character.h ${.CURDIR}/blocks/libswf.h \
+		${.CURDIR}/blocks/method.h ${.CURDIR}/blocks/output.h \
+		${.CURDIR}/blocks/rect.h  ${INCDIR}/blocks/
 	${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
 		${.CURDIR}/c++/ming.h ${INCDIR}/c++/

--- pkg-plist~	Fri Mar 23 13:47:27 2001
+++ pkg-plist	Thu Apr 12 16:09:31 2001
@@ -17,6 +17,18 @@
 include/ming/position.h
 include/ming/shape_util.h
 include/ming/text_util.h
+include/ming/blocks/block.h
+include/ming/blocks/blocktypes.h
+include/ming/blocks/character.h
+include/ming/blocks/cxform.h
+include/ming/blocks/libswf.h
+include/ming/blocks/matrix.h
+include/ming/blocks/method.h
+include/ming/blocks/output.h
+include/ming/blocks/outputblock.h
+include/ming/blocks/rect.h
+include/ming/blocks/sound.h
+include/ming/blocks/sprite.h
 include/ming/blocks/swf.h
 include/ming/c++/ming.h
 @dirrm include/ming/blocks
>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?200104121224.VAA09234>