Actually compile on amd64. This required copying in the config.guess
replacement code from bsd.port.mk because pubcookie lives in a subdirectory of PREFIX and thus actually defining GNU_CONFIGURE won't work. Point hat: brooks
This commit is contained in:
parent
cf9fb04ec9
commit
1239d2e829
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155612
2 changed files with 22 additions and 0 deletions
|
@ -47,6 +47,17 @@ CONF_FILES+= ${PC_BASE}/config.sample:${PC_BASE}/config
|
|||
|
||||
# XXX Add Kerberos
|
||||
|
||||
# XXX: more GNU_CONFIGURE hackery
|
||||
pre-configure:
|
||||
@CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \
|
||||
| ${XARGS} -n 1 ${DIRNAME}); \
|
||||
for _D in $${CONFIG_GUESS_DIRS}; do \
|
||||
${CP} -f ${TEMPLATES}/config.guess $${_D}/config.guess; \
|
||||
${CHMOD} a+rx $${_D}/config.guess; \
|
||||
${CP} -f ${TEMPLATES}/config.sub $${_D}/config.sub; \
|
||||
${CHMOD} a+rx $${_D}/config.sub; \
|
||||
done
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PC_DIR}/keys
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/keyclient ${PC_DIR}
|
||||
|
|
|
@ -59,6 +59,17 @@ LIB_DEPENDS+= fcgi.0:${PORTSDIR}/www/fcgi
|
|||
CONFIGURE_ARGS+= --with-fcgi=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
# XXX: more GNU_CONFIGURE hackery
|
||||
pre-configure:
|
||||
@CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \
|
||||
| ${XARGS} -n 1 ${DIRNAME}); \
|
||||
for _D in $${CONFIG_GUESS_DIRS}; do \
|
||||
${CP} -f ${TEMPLATES}/config.guess $${_D}/config.guess; \
|
||||
${CHMOD} a+rx $${_D}/config.guess; \
|
||||
${CP} -f ${TEMPLATES}/config.sub $${_D}/config.sub; \
|
||||
${CHMOD} a+rx $${_D}/config.sub; \
|
||||
done
|
||||
|
||||
post-install:
|
||||
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
|
||||
|
|
Loading…
Reference in a new issue