diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-12-23 20:21:33 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-12-23 20:21:33 +0000 |
commit | 18eafc3de5d783e01266b2cc301cfce41ef7e03a (patch) | |
tree | 5e98956b3d6953db5dc94ffe29331faac6c045d5 /devel/libtai | |
parent | cc4556ea628af6319b52e40375694deb480b748c (diff) | |
download | ports-18eafc3de5d783e01266b2cc301cfce41ef7e03a.tar.gz ports-18eafc3de5d783e01266b2cc301cfce41ef7e03a.zip |
Notes
Diffstat (limited to 'devel/libtai')
-rw-r--r-- | devel/libtai/Makefile | 9 | ||||
-rw-r--r-- | devel/libtai/files/leapsecs-update.txt | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/libtai/Makefile b/devel/libtai/Makefile index a996d3eb8b57..adcbabb90204 100644 --- a/devel/libtai/Makefile +++ b/devel/libtai/Makefile @@ -7,7 +7,7 @@ PORTNAME= libtai PORTVERSION= 0.60 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://cr.yp.to/libtai/ \ ftp://ftp.sunsite.auc.dk/disk1/qmail/ \ @@ -40,6 +40,8 @@ do-configure: @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc @${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld @${ECHO_CMD} -fPIC -DPIC > ${WRKSRC}/conf-ccso +# update leap seconds table + @${CAT} ${FILESDIR}/leapsecs-update.txt >> ${WRKSRC}/leapsecs.txt pre-install: # correct header locations inside files @@ -48,6 +50,11 @@ pre-install: ${WRKSRC}/${file} .endfor +post-build: + @${ENV} LD_LIBRARY_PATH=${WRKSRC} \ + ${WRKSRC}/leapsecs < ${WRKSRC}/leapsecs.txt > \ + ${WRKSRC}/leapsecs.dat + do-install: ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${BINGRP} -m 644 \ ${WRKSRC}/leapsecs.dat ${PREFIX}/etc diff --git a/devel/libtai/files/leapsecs-update.txt b/devel/libtai/files/leapsecs-update.txt new file mode 100644 index 000000000000..98b4edbbe934 --- /dev/null +++ b/devel/libtai/files/leapsecs-update.txt @@ -0,0 +1,3 @@ +# Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org> +# $FreeBSD$ ++2005-12-31 |