openbsd-ports/net/no-ip/patches/patch-Makefile

32 lines
814 B
Plaintext
Raw Normal View History

2003-06-27 07:37:23 -04:00
$OpenBSD: patch-Makefile,v 1.3 2003/06/27 11:37:23 wilfried Exp $
--- Makefile.orig Thu May 8 23:13:28 2003
+++ Makefile Fri Jun 27 13:32:18 2003
2003-05-07 04:33:19 -04:00
@@ -1,5 +1,4 @@
TGT=noip2
-CC=gcc
2003-05-07 04:33:19 -04:00
PREFIX=/usr/local
CONFDIR=${PREFIX}/etc
2003-06-27 07:37:23 -04:00
@@ -7,10 +6,10 @@ BINDIR=${PREFIX}/bin
2003-05-07 04:33:19 -04:00
2003-06-27 07:37:23 -04:00
# these defines are for Linux
LIBS=
2003-05-07 04:33:19 -04:00
-ARCH=linux
2003-06-27 07:37:23 -04:00
+#ARCH=linux
2003-05-07 04:33:19 -04:00
2003-06-27 07:37:23 -04:00
# 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
@@ -21,7 +20,7 @@ ARCH=linux
# ARCH=sun
2003-05-07 04:33:19 -04:00
${TGT}: Makefile ${TGT}.c
- ${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
2003-06-27 07:37:23 -04:00
+ ${CC} ${CFLAGS} -D${ARCH} ${TGT}.c -o ${TGT} ${LIBS}
2003-05-07 04:33:19 -04:00
install: ${TGT}
2003-06-27 07:37:23 -04:00
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi