pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42437: www/ap-auth-kerb doesn't support DESTDIR



>Number:         42437
>Category:       pkg
>Synopsis:       www/ap-auth-kerb doesn't support DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 11 01:20:00 +0000 2009
>Originator:     Lloyd Parkes
>Release:        5.0.1
>Organization:
Must Have Coffee
>Environment:
NetBSD rhox.must-have-coffee.gen.nz 5.0.1 NetBSD 5.0.1 (GENERIC) #1: Sun Sep 20 
14:09:09 NZST 2009  
lloyd%rhox.must-have-coffee.gen.nz@localhost:/vol/scratch/build5/obj.amd64/sys/arch/amd64/compile/GENERIC
 amd64
>Description:
www/ap-auth-kerb doesn't support DESTDIR
>How-To-Repeat:
Build it.
>Fix:
--- Makefile    23 Nov 2009 16:59:18 -0000      1.7
+++ Makefile    11 Dec 2009 00:18:10 -0000
@@ -5,6 +5,8 @@
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=modauthkerb/}
 
+PKG_DESTDIR_SUPPORT=user-destdir
+
 MAINTAINER=    markd%NetBSD.org@localhost
 HOMEPAGE=      http://modauthkerb.sourceforge.net/
 COMMENT=       Module to allow Apache authentication using Kerberos
@@ -12,6 +14,8 @@
 
 PKG_APACHE_ACCEPTED=   apache2 apache22
 
+INSTALLATION_DIRS=     lib/httpd
+
 CONFLICTS=     ap-auth-kerb-[0-9]*
 
 GNU_CONFIGURE=         yes
@@ -23,6 +27,11 @@
 
 APACHE_MODULE=         yes
 
+do-install:
+       ${INSTALL_DATA} \
+               ${WRKSRC}/src/.libs/mod_auth_kerb.so \
+               ${DESTDIR}${PREFIX}/lib/httpd/mod_auth_kerb.so
+
 .include "../../mk/apache.mk"
 .include "../../mk/krb5.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index