Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 15:06:56 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, clsung@FreeBSD.org
Subject:   ports/101865: [PATCH] security/botan: Respect DESTDIR
Message-ID:  <20060812070656.41548372@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608120710.k7C7A5TH079274@freefall.freebsd.org>

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

>Number:         101865
>Category:       ports
>Synopsis:       [PATCH] security/botan: Respect DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 07:10:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR
- Use USE_LDCONFIG

Port maintainer (clsung@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- botan-1.4.12.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/botan/Makefile /home/staff/gslin/work/ports/botan/Makefile
--- /usr/ports/security/botan/Makefile	Sat Apr 15 16:30:22 2006
+++ /home/staff/gslin/work/ports/botan/Makefile	Sat Aug 12 15:05:51 2006
@@ -16,20 +16,20 @@
 MAINTAINER=	clsung@FreeBSD.org
 COMMENT=	A portable, easy to use, and efficient C++ crypto library
 
-USE_BZIP2=	yes
-USE_PERL5=	yes
-HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${TARGETDIR} gcc-freebsd-generic
 CONFIGURE_SCRIPT=	configure.pl
-CONFIGURE_ARGS=	--prefix=${PREFIX} gcc-freebsd-generic
-USE_GMAKE=	yes
+HAS_CONFIGURE=	yes
 MAKE_ARGS=	CXX="${CXX}" LIB_OPT="${CXXFLAGS}" \
 		LANG_FLAGS="-fpermissive"
-INSTALLS_SHLIB=	yes
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_LDCONFIG=	yes
+USE_PERL=	yes
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
 .if !defined(NOPORTDOCS)
-DOCSDIR=	${PREFIX}/share/doc/Botan-${PORTVERSION}
+DOCSDIR=	${TARGETDIR}/share/doc/Botan-${PORTVERSION}
 PORTDOCS=	*
 .endif
 
@@ -40,6 +40,7 @@
 PLIST_SUB+=	OS_4="@comment "
 .else
 PLIST_SUB+=	OS_4=""
+
 post-patch:
 	@${FIND} ${WRKSRC} -name '*.orig' -delete
 .endif
--- botan-1.4.12.patch ends here ---

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



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