tech-pkg archive

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

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



Not only ap-auth-kerb but also many ap-* packages don't support user-destdir,
because axps does not support DESTDIR, and no hope:
 https://issues.apache.org/bugzilla/show_bug.cgi?id=32930

How about patch to axpr to support DESTDIR,
or create axpr wrapper to do like www/ap2-auth-mysql's do-install target?

On Fri, 11 Dec 2009 10:37:22 +0900, Lloyd Parkes 
<lloyd%must-have-coffee.gen.nz@localhost> wrote:

This adds DESTDIR support to www/ap-auth-kerb.

Cheers,
Lloyd

--- 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"




--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index