diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-03-29 00:54:46 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-03-29 00:54:46 +0800 |
commit | 738e746975b08e4d29bc88425d3a611fd044dbd9 (patch) | |
tree | a6856511ebb8aeb6417dff591e2e055bbcf35e02 /dns/noip/Makefile | |
parent | c6d579f3994cbadae24a854f8435d20cf091bdb9 (diff) | |
download | freebsd-ports-gnome-738e746975b08e4d29bc88425d3a611fd044dbd9.tar.gz freebsd-ports-gnome-738e746975b08e4d29bc88425d3a611fd044dbd9.tar.zst freebsd-ports-gnome-738e746975b08e4d29bc88425d3a611fd044dbd9.zip |
- Pass -Dbsd_with_getifaddrs to CFLAGS in order to get a correct network
interface list [1]
PR: 155974 [1]
Submitted by: David Naylor <naylor.b.david@gmail.com> [1]
Diffstat (limited to 'dns/noip/Makefile')
-rw-r--r-- | dns/noip/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile index 88cb08658c84..e51dceb8a4d7 100644 --- a/dns/noip/Makefile +++ b/dns/noip/Makefile @@ -7,6 +7,7 @@ PORTNAME= noip PORTVERSION= 2.1.9 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://www.no-ip.com/client/linux/ \ CRITICAL @@ -21,9 +22,12 @@ USE_RC_SUBR= noip LICENSE= GPLv2 -pre-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ - ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +CFLAGS+= -Dbsd_with_getifaddrs + +USERS= noip +GROUPS= noip + +PLIST_SUB+= USER="${USERS}" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${PREFIX}/bin |