diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2007-11-11 15:54:46 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2007-11-11 15:54:46 +0000 |
commit | 1fdc84ba30e2d68683c392299607a420b7a4687d (patch) | |
tree | 6cd7a01fbcb2024f51c10fad27186f20dc23a4bb /sysutils/nvtv | |
parent | c44e7878b16c6303034428a2052f7a3e97336ca3 (diff) | |
download | ports-1fdc84ba30e2d68683c392299607a420b7a4687d.tar.gz ports-1fdc84ba30e2d68683c392299607a420b7a4687d.zip |
Fix build.
Submitted by: Samy Al Bahra <sbahra at kerneled dot org>, marius
Approved by: portmgr (self)
Tested on: pointyhat
Notes
Notes:
svn path=/head/; revision=202625
Diffstat (limited to 'sysutils/nvtv')
-rw-r--r-- | sysutils/nvtv/Makefile | 4 | ||||
-rw-r--r-- | sysutils/nvtv/files/patch-configure | 46 |
2 files changed, 46 insertions, 4 deletions
diff --git a/sysutils/nvtv/Makefile b/sysutils/nvtv/Makefile index 719125bba7c1..82f60fb1d0c6 100644 --- a/sysutils/nvtv/Makefile +++ b/sysutils/nvtv/Makefile @@ -25,14 +25,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib GNU_CONFIGURE= yes -USE_GETOPT_LONG= yes USE_GNOME= gtk12 MAN1= nvtv.1x MAN8= nvtvd.8 PLIST_FILES= bin/nvtv bin/nvtvd -post-patch: - @${REINPLACE_CMD} -e 's|-lgnugetopt||g' ${WRKSRC}/configure - .include <bsd.port.mk> diff --git a/sysutils/nvtv/files/patch-configure b/sysutils/nvtv/files/patch-configure new file mode 100644 index 000000000000..2ffa41c2a06e --- /dev/null +++ b/sysutils/nvtv/files/patch-configure @@ -0,0 +1,46 @@ +--- configure.orig 2004-04-13 19:20:51.000000000 +0200 ++++ configure 2007-11-10 22:48:39.000000000 +0100 +@@ -5540,13 +5540,13 @@ + + ;; + *-*-freebsd*) +- echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 +-echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 ++ echo "$as_me:$LINENO: checking for getopt_long in -lc" >&5 ++echo $ECHO_N "checking for getopt_long in -lc... $ECHO_C" >&6 + if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lgnugetopt $LIBS" ++#LIBS="-lgnugetopt $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -5595,7 +5595,7 @@ + echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 + echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 + if test $ac_cv_lib_gnugetopt_getopt_long = yes; then +- LIBS="$LIBS -lgnugetopt" ++# LIBS="$LIBS -lgnugetopt" + else + { { echo "$as_me:$LINENO: error: FreeBSD gnugetopt library required" >&5 + echo "$as_me: error: FreeBSD gnugetopt library required" >&2;} +@@ -5677,7 +5677,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpci $LIBS" ++LIBS="-lpci -lz $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -5726,7 +5726,7 @@ + echo "$as_me:$LINENO: result: $ac_cv_lib_pci_pci_init" >&5 + echo "${ECHO_T}$ac_cv_lib_pci_pci_init" >&6 + if test $ac_cv_lib_pci_pci_init = yes; then +- LIBS="$LIBS -lpci" pciutils_libname="pci" ++ LIBS="$LIBS -lpci -lz" pciutils_libname="pci" + else + echo "$as_me:$LINENO: checking for pci_init in -lpciutils" >&5 + echo $ECHO_N "checking for pci_init in -lpciutils... $ECHO_C" >&6 |