aboutsummaryrefslogtreecommitdiff
path: root/dns/noip
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-12-01 18:39:18 +0000
committerSimon Barner <barner@FreeBSD.org>2005-12-01 18:39:18 +0000
commit440fa34029f2f5a3d84b2d9984a91b6083fb7f56 (patch)
treea66836475b7efd460605c40c259befadc7ec1ad9 /dns/noip
parent086862cf383eb2d998b2d51d1d5ca20a5b619374 (diff)
downloadports-440fa34029f2f5a3d84b2d9984a91b6083fb7f56.tar.gz
ports-440fa34029f2f5a3d84b2d9984a91b6083fb7f56.zip
Notes
Diffstat (limited to 'dns/noip')
-rw-r--r--dns/noip/Makefile1
-rw-r--r--dns/noip/files/patch-Makefile14
2 files changed, 6 insertions, 9 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile
index 493490c9b572..8b0d51bb067c 100644
--- a/dns/noip/Makefile
+++ b/dns/noip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= noip
PORTVERSION= 2.1.1
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.no-ip.com/client/linux/
diff --git a/dns/noip/files/patch-Makefile b/dns/noip/files/patch-Makefile
index de226c616f08..685fc7cd614b 100644
--- a/dns/noip/files/patch-Makefile
+++ b/dns/noip/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Thu May 8 23:13:28 2003
-+++ Makefile Fri Aug 29 10:22:57 2003
-@@ -1,16 +1,16 @@
+--- Makefile.orig Sat Aug 2 05:56:55 2003
++++ Makefile Wed Nov 30 01:35:17 2005
+@@ -1,13 +1,13 @@
TGT=noip2
-CC=gcc
+MYCC=${CC}
@@ -19,17 +19,13 @@
+#ARCH=linux
# for BSD systems that have getifaddr(), uncomment the next line
--#ARCH=bsd_with_getifaddrs
-+ARCH=bsd_with_getifaddrs
-
- # for early BSD systems without getifaddrs(), uncomment the next line
- #ARCH=bsd
+ #ARCH=bsd_with_getifaddrs
@@ -21,7 +21,7 @@
# ARCH=sun
${TGT}: Makefile ${TGT}.c
- ${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
-+ ${MYCC} ${CFLAGS} -D${ARCH} -DPREFIX=\"${MYPREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
++ ${MYCC} ${CFLAGS} -Dbsd_with_getifaddrs -DPREFIX=\"${MYPREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
install: ${TGT}
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi