Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2000 23:53:34 +0800 (CST)
From:      Yin-Jieh Chen <yinjieh@Crazyman.Dorm13.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18310: ports/devel/cdk install error
Message-ID:  <200004301553.XAA04178@Crazyman.Dorm13.NCTU.edu.tw>

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

>Number:         18310
>Category:       ports
>Synopsis:       ports/devel/cdk install error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 30 09:00:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Yin-Jieh Chen
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
NCTU CSIE FreeBSD Users' Group
>Environment:
FreeBSD Crazyman.Dorm13.NCTU.edu.tw 4.0-STABLE FreeBSD 4.0-STABLE #4: Sat Apr 15 22:14:23 CST 2000     root@Crazyman.Dorm13.NCTU.edu.tw:/usr/src/sys/compile/YINJIEH  i386

	ports CTM updated to ports-cur.3274
>Description:

	When installing ports/devel/cdk,
	it can not install properly.

>How-To-Repeat:

	# cd ${PORTSDIR}/devel/cdk
	# make install

>Fix:

	apply the following patch:

diff -ruN /usr/ports/devel/cdk/Makefile cdk/Makefile
--- /usr/ports/devel/cdk/Makefile	Sun Apr 30 22:12:32 2000
+++ cdk/Makefile	Sun Apr 30 23:29:46 2000
@@ -29,26 +29,16 @@
 do-install:
 	@ ${INSTALL_DATA} ${WRKSRC}/libcdk.so.1 ${PREFIX}/lib
 	@ ${LN} -fs ${PREFIX}/lib/libcdk.so.1 ${PREFIX}/lib/libcdk.so
-	@ ${INSTALL_DATA} ${WRKSRC}/cdk.h ${PREFIX}/include
+	@ ${INSTALL_DATA} ${WRKSRC}/libcdk.a ${PREFIX}/lib
 	@ ${MKDIR} ${PREFIX}/include/cdk
-	@ ${INSTALL_DATA} ${WRKSRC}/cdk/* ${PREFIX}/include/cdk
+	@ ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/cdk
 .for file in ${MAN3}
 	@ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man3
 .endfor
-	@ ${MKDIR} ${PREFIX}/share/examples/cdk
-	@ ${INSTALL_DATA} ${WRKSRC}/exam/*.c ${PREFIX}/share/examples/cdk
-	@ ${INSTALL_DATA} ${WRKSRC}/exam/examples.make ${PREFIX}/share/examples/cdk/Makefile
-	@ ${MKDIR} ${PREFIX}/share/examples/cdk/demo
-	@ ${INSTALL_DATA} ${WRKSRC}/demo/rolodex.h ${PREFIX}/share/examples/cdk/demo
-	@ ${INSTALL_DATA} ${WRKSRC}/demo/*.c ${PREFIX}/share/examples/cdk/demo
-	@ ${INSTALL_DATA} ${WRKSRC}/demo/demos.make ${PREFIX}/share/examples/cdk/demo/Makefile
-	@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli
-	@ ${INSTALL_DATA} ${WRKSRC}/cli/*.c ${PREFIX}/share/examples/cdk/cli
-	@ ${INSTALL_DATA} ${WRKSRC}/cli/cli.make ${PREFIX}/share/examples/cdk/cli/Makefile
-	@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/samples
-	@ ${INSTALL_DATA} ${WRKSRC}/cli/samples/* ${PREFIX}/share/examples/cdk/cli/samples
-	@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/utils
-	@ ${INSTALL_DATA} ${WRKSRC}/cli/utils/* ${PREFIX}/share/examples/cdk/cli/utils
+	@ ${MKDIR} ${PREFIX}/share/examples/cdk/demos
+	@ ${INSTALL_DATA} ${WRKSRC}/demos/rolodex.h ${PREFIX}/share/examples/cdk/demos
+	@ ${INSTALL_DATA} ${WRKSRC}/demos/*.c ${PREFIX}/share/examples/cdk/demos
+	@ ${INSTALL_DATA} ${WRKSRC}/demos/Makefile ${PREFIX}/share/examples/cdk/demos/Makefile
 	@ ${LDCONFIG} -m ${PREFIX}/lib
 
  post-install:
diff -ruN /usr/ports/devel/cdk/pkg/PLIST cdk/pkg/PLIST
--- /usr/ports/devel/cdk/pkg/PLIST	Sun Apr 30 21:24:24 2000
+++ cdk/pkg/PLIST	Sun Apr 30 23:28:25 2000
@@ -37,6 +37,17 @@
 share/doc/cdk/NOTES
 share/doc/cdk/README
 share/doc/cdk/TODO
+share/examples/cdk/demos/Makefile
+share/examples/cdk/demos/appointment.c
+share/examples/cdk/demos/clock.c
+share/examples/cdk/demos/command.c
+share/examples/cdk/demos/fileview.c
+share/examples/cdk/demos/rolodex.c
+share/examples/cdk/demos/rolodex.h
+share/examples/cdk/demos/serial.c
+share/examples/cdk/demos/stopSign.c
+share/examples/cdk/demos/syb.c
+share/examples/cdk/demos/vinstall.c
 share/examples/cdk/Makefile
 share/examples/cdk/alphalist_ex.c
 share/examples/cdk/bind_ex.c
@@ -68,6 +79,7 @@
 share/examples/cdk/tst.c
 share/examples/cdk/viewer_ex.c
 share/examples/cdk/vinstall.c
+@dirrm share/examples/cdk/demos
 @dirrm share/examples/cdk
 @dirrm share/doc/cdk
 @dirrm include/cdk

>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?200004301553.XAA04178>