1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

get rid of libgnugetopt dependency.

Approved by:	maintainer
This commit is contained in:
FUJISHIMA Satsuki 2001-02-18 11:54:26 +00:00
parent 28a6826d57
commit bcea118d14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38458
2 changed files with 10 additions and 20 deletions

View File

@ -15,8 +15,6 @@ MAINTAINER= greid@ukug.uk.freebsd.org
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
.if ${OSVERSION} < 400010 .if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.endif .endif

View File

@ -1,23 +1,15 @@
--- configure.orig Wed Jan 24 23:59:05 2001 --- configure.orig Fri Jan 26 04:21:29 2001
+++ configure Thu Jan 25 23:36:40 2001 +++ configure Fri Feb 16 15:50:41 2001
@@ -546,7 +546,6 @@ @@ -2130,7 +2130,7 @@
ac_n= ac_c='\c' ac_t=
fi fi
done
- -for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h getopt.h
ac_aux_dir= +for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do do
if test -f $ac_dir/install-sh; then ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
@@ -1545,7 +1544,7 @@ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
if test "`uname -s`" = "FreeBSD" ; then @@ -3310,7 +3310,6 @@
echo "FreeBSD detected."
FREEBSD=1
- LDFLAGS="-L/usr/local/lib $LDFLAGS"
+ LDFLAGS="-L/usr/local/lib -lgnugetopt $LDFLAGS"
CPPFLAGS="-I/usr/local/include $CPPFLAGS"
fi
@@ -3310,7 +3309,6 @@