mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- add stage support
This commit is contained in:
parent
837771195f
commit
7d5e9e156e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347665
@ -12,9 +12,8 @@ PKGNAMESUFFIX= 2
|
||||
MAINTAINER= apache@FreeBSD.org
|
||||
COMMENT= Apache module for authenticating users with Kerberos v5
|
||||
|
||||
NO_STAGE= yes
|
||||
USE_APACHE= 22
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
PORTSCOUT= limit:^5.4
|
||||
@ -37,4 +36,11 @@ LIB_DEPENDS+= libgssapi_krb5.so:${PORTSDIR}/security/krb5
|
||||
CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} --without-krb4
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,19 +1,20 @@
|
||||
--- ./Makefile.in.orig 2008-12-02 09:07:10.000000000 -0500
|
||||
+++ ./Makefile.in 2012-11-28 09:50:58.000000000 -0500
|
||||
@@ -1,6 +1,6 @@
|
||||
--- ./Makefile.in.orig 2008-12-02 15:07:10.000000000 +0100
|
||||
+++ ./Makefile.in 2014-03-09 17:54:19.000000000 +0100
|
||||
@@ -1,6 +1,7 @@
|
||||
APXS = @APXS@
|
||||
+APXS_STAGE= @APXS_STAGE@
|
||||
KRB5_CPPFLAGS = @KRB5_CPPFLAGS@
|
||||
-KRB5_LDFLAGS = @KRB5_LDFLAGS@
|
||||
+KRB5_LDFLAGS = @KRB5_LDFLAGS@ -lgssapi_krb5
|
||||
KRB4_CPPFLAGS = @KRB4_CPPFLAGS@
|
||||
KRB4_LDFLAGS = @KRB4_LDFLAGS@
|
||||
LIB_resolv = @LIB_resolv@
|
||||
@@ -16,7 +16,7 @@
|
||||
@@ -16,7 +17,7 @@
|
||||
./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c" "src/mod_auth_kerb.c"
|
||||
|
||||
install:
|
||||
- ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i" "src/mod_auth_kerb.c"
|
||||
+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i -a" "src/mod_auth_kerb.c"
|
||||
+ ${APXS} $(APXS_STAGE) -i -n auth_kerb src/mod_auth_kerb.la
|
||||
|
||||
clean:
|
||||
for i in . src spnegokrb5; do \
|
||||
|
Loading…
Reference in New Issue
Block a user