freebsd-ports/news/nzbget/files/patch-configure
Pav Lucistnik 02405b3eba Add nzbget, a NZB binaries format downloader from Usenet groups.
PR:		ports/65509
Submitted by:	Lewis Thompson <purple@lewiz.net>
2004-04-17 21:26:30 +00:00

24 lines
551 B
Text

--- configure.orig Thu Feb 26 15:49:46 2004
+++ configure Tue Apr 13 22:55:38 2004
@@ -1303,13 +1303,19 @@
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
PLATFORM="Linux"
;;
- *-solaris*)
+ *-freebsd*)
+ LIBPREF="${LOCALBASE}"
+ CFLAGS="${CFLAGS}"
+ CPPFLAGS="${CPPFLAGS}"
+ PLATFORM="FreeBSD"
+ ;;
+ *-solaris*)
LIBPREF="/usr/local"
PLATFORM="SunOS"
;;
esac
-CFLAGS="-Wall -g -O0 -pipe" CPPFLAGS="-I. ${CPPFLAGS}"
+CFLAGS="${CFLAGS} -Wall" CPPFLAGS="-I. ${CPPFLAGS}"
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'