Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 09:57:15 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42898: Update port: math/rpc
Message-ID:  <200209171657.g8HGvFLl021780@www.freebsd.org>

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

>Number:         42898
>Category:       ports
>Synopsis:       Update port: math/rpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 17 10:30:19 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly
- Utilize NOPORTDOCS

New file:
files/patch-src::Makefile.in

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/math/rpc/Makefile math/rpc/Makefile
--- /usr/ports/math/rpc/Makefile	Thu Aug 16 21:10:16 2001
+++ math/rpc/Makefile	Mon Sep 16 22:08:17 2002
@@ -8,6 +8,7 @@
 
 PORTNAME=	rpc
 PORTVERSION=	0.96
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	http://www.eecs.umich.edu/~pelzlpj/rpc/
 
@@ -16,9 +17,15 @@
 BUILD_DEPENDS=	${LOCALBASE}/lib/libccm.so:${PORTSDIR}/math/ccmath
 RUN_DEPENDS=	${LOCALBASE}/lib/libccm.so:${PORTSDIR}/math/ccmath
 
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-USE_GMAKE=	yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/manual ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/math/rpc/files/patch-src::Makefile.in math/rpc/files/patch-src::Makefile.in
--- /usr/ports/math/rpc/files/patch-src::Makefile.in	Thu Jan  1 09:00:00 1970
+++ math/rpc/files/patch-src::Makefile.in	Mon Sep 16 22:05:58 2002
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig	Mon Aug 13 13:01:30 2001
++++ src/Makefile.in	Mon Sep 16 22:04:55 2002
+@@ -67,8 +67,8 @@
+ 
+ bin_PROGRAMS = rpc
+ 
+-CFLAGS = -O2 -Wall
+-CXXFLAGS = -O2 -Wall
++CFLAGS = @CFLAGS@
++CXXFLAGS = @CXXFLAGS@
+ INCLUDES = @CURSES_INCLUDEDIR@
+ LDADD = -lm -lccm @CURSES_LIBS@
+ 
diff -urN /usr/ports/math/rpc/pkg-plist math/rpc/pkg-plist
--- /usr/ports/math/rpc/pkg-plist	Wed Mar 21 22:25:20 2001
+++ math/rpc/pkg-plist	Mon Sep 16 22:08:53 2002
@@ -1 +1,3 @@
 bin/rpc
+%%PORTDOCS%%share/doc/rpc/manual
+%%PORTDOCS%%@dirrm share/doc/rpc

>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?200209171657.g8HGvFLl021780>