From owner-freebsd-ports Sat Jan 15 7:40: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 07A4914CA4 for ; Sat, 15 Jan 2000 07:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA32907; Sat, 15 Jan 2000 07:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sat, 15 Jan 2000 07:40:02 -0800 (PST) Message-Id: <200001151540.HAA32907@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: OKAZAKI Tetsurou Subject: Re: ports/15936: new port: devel/libgii Reply-To: OKAZAKI Tetsurou Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/15936; it has been noted by GNATS. From: OKAZAKI Tetsurou To: mwest@uct.ac.za Cc: bug-followup@freebsd.org Subject: Re: ports/15936: new port: devel/libgii Date: Sun, 16 Jan 2000 00:33:42 +0900 Hi, this is a patch for your devel/libgii port. My changes are... o Add '-pthread' to CFLAGS. o Patch libtool to stop linking binaries with libc. o MLINKS for MAN3 manuals. o Install documents and examples. Enjoy! diff -x Log.* -urN ../FromGNATS/libgii/Makefile libgii/Makefile --- ../FromGNATS/libgii/Makefile Sat Jan 15 22:26:30 2000 +++ libgii/Makefile Sat Jan 15 23:44:37 2000 @@ -15,14 +15,51 @@ USE_BZIP2= yes USE_XLIB= yes GNU_CONFIGURE= yes +# NOTE: We can not define USE_LIBTOOL for this port to build. +#USE_LIBTOOL= yes +CFLAGS+= -pthread + MAN1= mhub.1 -MAN3= giiAddEventMask.3gii giiClose.3gii giiEventPoll.3gii \ - giiEventRead.3gii giiEventSend.3gii giiExit.3gii \ - giiGetEventMask.3gii giiInit.3gii giiJoinInputs.3gii \ - giiOpen.3gii giiPanic.3gii giiRemoveEventMask.3gii \ - giiSetEventMask.3gii +MAN3= giiEventPoll.3gii giiInit.3gii giiOpen.3gii \ + giiPanic.3gii giiSetEventMask.3gii +MLINKS= giiEventPoll.3gii giiEventRead.3gii - giiEventSend.3gii \ + giiInit.3gii giiExit.3gii \ + giiOpen.3gii giiClose.3gii - giiJoinInputs.3gii \ + giiSetEventMask.3gii giiAddEventMask.3gii \ + - giiGetEventMask.3gii - giiRemoveEventMask.3gii + +DOCSDIR= share/doc/libgii +DOCS= ChangeLog NEWS README \ + doc/env.txt doc/inputs.txt doc/libgii-api.sgml +EXAMPLESDIR= share/examples/libgii +EXAMPLES= demos/demo.c demos/filter.c \ + demos/mhub.c demos/xsendbut.c + +post-configure: + @${PERL} -p -i.bak -e 's/deplibs -lc/deplibs/;' ${WRKSRC}/libtool post-install: - ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + @${MAKE} install-examples +.if !defined(NOPORTDOCS) + @${MAKE} install-documents +.endif + +################################################# +# local targets for this port + +install-examples: + @${MKDIR} ${PREFIX}/${EXAMPLESDIR} + @(cd ${WRKSRC} && \ + for i in ${EXAMPLES} ; do \ + ${INSTALL_DATA} $${i} ${PREFIX}/${EXAMPLESDIR} ; \ + done) + +install-documents: + @${MKDIR} ${PREFIX}/${DOCSDIR} + @(cd ${WRKSRC} && \ + for i in ${DOCS} ; do \ + ${INSTALL_DATA} $${i} ${PREFIX}/${DOCSDIR} ; \ + done) .include diff -x Log.* -urN ../FromGNATS/libgii/pkg/PLIST libgii/pkg/PLIST --- ../FromGNATS/libgii/pkg/PLIST Sat Jan 15 22:26:30 2000 +++ libgii/pkg/PLIST Sat Jan 15 22:51:19 2000 @@ -41,6 +41,16 @@ lib/libgii.so.0 @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +share/doc/libgii/ChangeLog +share/doc/libgii/NEWS +share/doc/libgii/README +share/doc/libgii/env.txt +share/doc/libgii/inputs.txt +share/doc/libgii/libgii-api.sgml +share/examples/libgii/demo.c +share/examples/libgii/filter.c +share/examples/libgii/mhub.c +share/examples/libgii/xsendbut.c @dirrm etc/ggi @dirrm include/ggi/input @dirrm include/ggi/internal @@ -48,3 +58,5 @@ @dirrm lib/ggi/filter @dirrm lib/ggi/input @dirrm lib/ggi +@dirrm share/doc/libgii +@dirrm share/examples/libgii To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message