summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/patches/patch-aa
blob: 41f45059c2a728b1136a1300adcacfe161924b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.3 2005/03/05 13:32:10 grant Exp $

--- configure.orig	2003-09-29 01:26:39.000000000 +1000
+++ configure
@@ -148,11 +148,10 @@ FFSLDFLAGS=""
 need_inet_aton="yes"
 extralibs="$extralibs -lsocket -lnsl"
 ;;
-FreeBSD)
+FreeBSD|NetBSD)
 v4l="no"
 audio_oss="yes"
 dv1394="no"
-make="gmake"
 LDFLAGS="$LDFLAGS -export-dynamic"
 ;;
 BSD/OS)
@@ -959,6 +958,9 @@ if test "$vhook" = "yes" ; then
   echo "#define HAVE_VHOOK 1" >> $TMPH
   extralibs="$extralibs $ldl"
 fi
+if test "$ffserver" = "yes" ; then
+  extralibs="$extralibs $ldl"
+fi
 if test "$lshared" = "yes" ; then
   echo "BUILD_SHARED=yes" >> config.mak
   echo "PIC=-fPIC" >> config.mak