ports/101865: [PATCH] security/botan: Respect DESTDIR

Gea-Suan Lin gslin at gslin.org
Sat Aug 12 07:10:09 UTC 2006


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list