diff options
author | wollman <wollman@FreeBSD.org> | 2002-03-22 00:10:14 +0800 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-03-22 00:10:14 +0800 |
commit | 5d31db05a22d5427af7910dca5e4dc49c6c74076 (patch) | |
tree | 11a1cac231b8bc1435ad9e8f5cdc38df9b2550b7 | |
parent | 48fd88cbc540f64fa9d255e35f2b061c77990cbf (diff) | |
download | freebsd-ports-gnome-5d31db05a22d5427af7910dca5e4dc49c6c74076.tar.gz freebsd-ports-gnome-5d31db05a22d5427af7910dca5e4dc49c6c74076.tar.zst freebsd-ports-gnome-5d31db05a22d5427af7910dca5e4dc49c6c74076.zip |
Fix dynamic linkage. Also provide for the case where ${KRB5_HOME} !=
${LOCALBASE}.
-rw-r--r-- | www/mod_auth_kerb/Makefile | 6 | ||||
-rw-r--r-- | www/mod_auth_kerb2/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/www/mod_auth_kerb/Makefile b/www/mod_auth_kerb/Makefile index f8939c23f667..e7367ecbc99f 100644 --- a/www/mod_auth_kerb/Makefile +++ b/www/mod_auth_kerb/Makefile @@ -31,10 +31,12 @@ KRB5_HOME?= ${LOCALBASE} do-build: cd ${WRKSRC} && \ - ${APXS} -I${KRB5_HOME}/include -L${KRB5_HOME}/lib \ + ${APXS} -I${KRB5_HOME}/include \ -DKRB5 -DKRB5_VERIFY_TICKET -DKRB5_SAVE_CREDENTIALS \ -DKRB5_DEFAULT_KEYTAB=\"\\\"file:${LOCALBASE}/etc/apache/keytab\\\"\" \ - -c ${PORTNAME}.c + -c ${PORTNAME}.c \ + -L${KRB5_HOME}/lib -Wl,-rpath -Wl,${KRB5_HOME}/lib \ + -lkrb5 -lk5crypto -lcom_err do-install: ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so diff --git a/www/mod_auth_kerb2/Makefile b/www/mod_auth_kerb2/Makefile index f8939c23f667..e7367ecbc99f 100644 --- a/www/mod_auth_kerb2/Makefile +++ b/www/mod_auth_kerb2/Makefile @@ -31,10 +31,12 @@ KRB5_HOME?= ${LOCALBASE} do-build: cd ${WRKSRC} && \ - ${APXS} -I${KRB5_HOME}/include -L${KRB5_HOME}/lib \ + ${APXS} -I${KRB5_HOME}/include \ -DKRB5 -DKRB5_VERIFY_TICKET -DKRB5_SAVE_CREDENTIALS \ -DKRB5_DEFAULT_KEYTAB=\"\\\"file:${LOCALBASE}/etc/apache/keytab\\\"\" \ - -c ${PORTNAME}.c + -c ${PORTNAME}.c \ + -L${KRB5_HOME}/lib -Wl,-rpath -Wl,${KRB5_HOME}/lib \ + -lkrb5 -lk5crypto -lcom_err do-install: ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so |