diff options
author | danfe <danfe@FreeBSD.org> | 2016-06-07 00:50:14 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2016-06-07 00:50:14 +0800 |
commit | 2179bb817eb7f3b3f83d4d7d1cb51b0866557cc0 (patch) | |
tree | 660e7d6fce25b4735f295c3d5badc82134d8381c /net | |
parent | 5e2bebd30dde8c01006e8308e0d7d487ce2d63ec (diff) | |
download | freebsd-ports-gnome-2179bb817eb7f3b3f83d4d7d1cb51b0866557cc0.tar.gz freebsd-ports-gnome-2179bb817eb7f3b3f83d4d7d1cb51b0866557cc0.tar.zst freebsd-ports-gnome-2179bb817eb7f3b3f83d4d7d1cb51b0866557cc0.zip |
- Remove ONLY_FOR_ARCHS restriction as chronyd(8) runs fine on PowerPC now
- Remove no-op OPTIONS_DEFAULT=IPV6, which was bogusly re-added in r416385
by pi@ after it was previously removed by amdmi3@ in r416447
- Sanitize `post-stage' target recipe (still needs more work to decouple
extra docs and examples properly and add them to OPTIONS_DEFINE)
Tested on: Mac mini G4 (powerpc)
Diffstat (limited to 'net')
-rw-r--r-- | net/chrony/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 0cdadd37ed2d..de6caafa9752 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -11,10 +11,6 @@ COMMENT= System clock synchronization client and server LICENSE= GPLv2 -# XXX: should theoretically work on others, but at least on PowerPC it dies -# with ``Could not open any NTP socket'' message on startup :( -ONLY_FOR_ARCHS= i386 amd64 - USES= cpe gmake makeinfo readline CPE_VENDOR= tuxfamily HAS_CONFIGURE= yes @@ -38,7 +34,6 @@ PORTEXAMPLES= chrony.conf.example1 chrony.conf.example2 \ # --without-tomcrypt Don't use libtomcrypt even if it is available # --disable-pps Disable PPS API support OPTIONS_DEFINE= IPV6 -OPTIONS_DEFAULT= IPV6 IPV6_CATEGORIES= ipv6 IPV6_CONFIGURE_OFF= --disable-ipv6 @@ -46,12 +41,11 @@ IPV6_CONFIGURE_OFF= --disable-ipv6 post-stage: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd - cd ${WRKSRC}/${f} && \ - ${INSTALL_DATA} ${EXTRAPORTDOCS} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${EXTRAPORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/examples && \ - ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/examples && \ - ${INSTALL_DATA} chrony.conf.example3 ${STAGEDIR}${PREFIX}/etc/chrony.conf.sample + ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} \ + ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/chrony.conf.example3 \ + ${STAGEDIR}${PREFIX}/etc/chrony.conf.sample .include <bsd.port.mk> |