1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Fix detection of device list by avoiding a conflict of the global ports

collection variable ${ARCH} and a variable of the same name in this port's
  Makefile

- Bump PORTREVISION

Reported by:	Rudi Kramer <derth@wbs.co.za> on freebsd-ports:
http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027809.html
This commit is contained in:
Simon Barner 2005-12-01 18:39:18 +00:00
parent 086862cf38
commit 440fa34029
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150159
2 changed files with 6 additions and 9 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= noip
PORTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.no-ip.com/client/linux/

View File

@ -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