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

34 lines
862 B
Plaintext
Raw Normal View History

$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 @@
2003-05-07 04:33:19 -04:00
TGT=noip2
-CC=gcc
PKG=noip-2.1.tgz
2003-05-07 04:33:19 -04:00
PREFIX=/usr/local
@@ -7,11 +6,11 @@ CONFDIR=${PREFIX}/etc
2006-10-18 18:02:39 -04:00
BINDIR=${PREFIX}/bin
2003-05-07 04:33:19 -04:00
2003-06-27 07:37:23 -04:00
# these defines are for Linux
2006-10-18 18:02:39 -04:00
-LIBS=
2003-05-07 04:33:19 -04:00
-ARCH=linux
2006-10-18 18:02:39 -04:00
+#LIBS=
2003-06-27 07:37:23 -04:00
+#ARCH=linux
2003-05-07 04:33:19 -04:00
2006-10-18 18:02:39 -04:00
# for Mac OS X and BSD systems that have getifaddr(), uncomment the next line
2003-06-27 07:37:23 -04:00
-#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
2003-05-07 04:33:19 -04:00
${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}
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