Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2007 08:53:52 GMT
From:      Kiyoshi Matsui<kmatsui@t3.rim.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/111999: [maintainer update] devel/mcpp: revising Makefile
Message-ID:  <200704220853.l3M8rqGm024990@www.freebsd.org>
Resent-Message-ID: <200704220900.l3M90CuT050339@freefall.freebsd.org>

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

>Number:         111999
>Category:       ports
>Synopsis:       [maintainer update] devel/mcpp: revising Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 22 09:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Kiyoshi Matsui
>Release:        FreeBSD 6.2-RELEASE
>Organization:
none
>Environment:
FreeBSD banten_bsd.private 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Revised the install directory of the man page.

>How-To-Repeat:

>Fix:
diff -u mcpp/Makefile mcpp.new/Makefile
--- mcpp/Makefile       Mon Apr 16 03:59:37 2007
+++ mcpp.new/Makefile   Sun Apr 22 16:48:58 2007
@@ -7,6 +7,7 @@
 
 PORTNAME=      mcpp
 PORTVERSION=   2.6.3
+PORTREVISION=  1
 CATEGORIES=    devel
 MASTER_SITES=  http://prdownloads.sourceforge.net/mcpp/ \
                http://jaist.dl.sourceforge.net/sourceforge/mcpp/
@@ -16,6 +17,9 @@
 
 GNU_CONFIGURE= yes
 CONFIGURE_TARGET=      --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+.if (! empty(PREFIX) && $(PREFIX) != $(LOCALBASE))
+CONFIGURE_ARGS= --mandir=$(PREFIX)/share/man
+.endif
 MAN1=          mcpp.1
 
 PLIST_FILES=   bin/mcpp    \

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704220853.l3M8rqGm024990>