openbsd-ports/net/no-ip/patches/patch-Makefile
wilfried 470b1a772a Security update to 2.1.8
All users running older versions are recommended to upgrade and re-run the configuration wizard.
2008-11-20 07:49:51 +00:00

34 lines
862 B
Plaintext

$OpenBSD: patch-Makefile,v 1.5 2008/11/20 07:49:51 wilfried Exp $
--- Makefile.orig Thu Nov 13 02:31:49 2008
+++ Makefile Thu Nov 20 08:40:53 2008
@@ -1,5 +1,4 @@
TGT=noip2
-CC=gcc
PKG=noip-2.1.tgz
PREFIX=/usr/local
@@ -7,11 +6,11 @@ CONFDIR=${PREFIX}/etc
BINDIR=${PREFIX}/bin
# these defines are for Linux
-LIBS=
-ARCH=linux
+#LIBS=
+#ARCH=linux
# for Mac OS X and 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
@@ -22,7 +21,7 @@ ARCH=linux
# ARCH=sun
${TGT}: Makefile ${TGT}.c
- ${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
+ ${CC} -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
install: ${TGT}
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi