From 16a89ee2bcd7ac27c990d8afa76fd5f2c97c3b74 Mon Sep 17 00:00:00 2001 From: aanriot Date: Sat, 26 May 2007 23:13:25 +0000 Subject: [PATCH] - honor CFLAGS. - tweak MASTER_SITES. ok naddy@ --- net/thcrut/Makefile | 5 +++-- net/thcrut/patches/patch-configure | 27 +++++++++++++++++++++++---- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/net/thcrut/Makefile b/net/thcrut/Makefile index a27152ba429..1737a449cf3 100644 --- a/net/thcrut/Makefile +++ b/net/thcrut/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.6 2005/05/24 00:13:31 mjc Exp $ +# $OpenBSD: Makefile,v 1.7 2007/05/26 23:13:25 aanriot Exp $ COMMENT= "local network discovery tool" DISTNAME= thcrut-0.1 +PKGNAME= ${DISTNAME}p0 CATEGORIES= net -MASTER_SITES= http://www.thehackerschoice.com/releases/ +MASTER_SITES= ${HOMEPAGE}/releases/ HOMEPAGE= http://www.thehackerschoice.com/ diff --git a/net/thcrut/patches/patch-configure b/net/thcrut/patches/patch-configure index b33a1f860f9..459f99ff8f7 100644 --- a/net/thcrut/patches/patch-configure +++ b/net/thcrut/patches/patch-configure @@ -1,7 +1,26 @@ -$OpenBSD: patch-configure,v 1.1 2005/05/24 00:13:31 mjc Exp $ ---- configure.orig Sun May 22 13:27:59 2005 -+++ configure Sun May 22 13:29:04 2005 -@@ -2022,14 +2022,14 @@ if test "${with_libnet+set}" = set; then +$OpenBSD: patch-configure,v 1.2 2007/05/26 23:13:25 aanriot Exp $ +--- configure.orig Wed Jul 18 07:05:38 2001 ++++ configure Sat May 26 16:01:41 2007 +@@ -982,7 +982,6 @@ fi + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" +-CFLAGS= + echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 + echo "configure:988: checking whether ${CC-cc} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then +@@ -1154,10 +1158,6 @@ EOF + + fi + +-if test $ac_cv_prog_gcc = yes; then +- CCOPTS='-O3 -Wall' +- CFLAGS="$CCOPTS" +-fi + + # Extract the first word of "md5sum", so it can be a program name with args. + set dummy md5sum; ac_word=$2 +@@ -2022,14 +2023,14 @@ if test "${with_libnet+set}" = set; then echo $ac_n "checking Using libnet in""... $ac_c" 1>&6 echo "configure:2024: checking Using libnet in" >&5 echo "$ac_t""$withval" 1>&6