diff options
author | sf <sf@FreeBSD.org> | 2003-07-14 02:37:09 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2003-07-14 02:37:09 +0000 |
commit | 8d25f0ae00727ed75d798f65fbe918af4365a684 (patch) | |
tree | 84963e8f808e814b4cc53f1a2ef7ba048741c774 /multimedia/mpeg4ip/files/patch-config.h.in | |
parent | 85c12c34c576d6d32aff6e6ec06b17543c38c87d (diff) | |
download | FreeBSD-ports-8d25f0ae00727ed75d798f65fbe918af4365a684.zip FreeBSD-ports-8d25f0ae00727ed75d798f65fbe918af4365a684.tar.gz |
get rid of libgnugetopt dependency.
as the distfile includes GNU getopt, we don't need to depend on extra library.
Diffstat (limited to 'multimedia/mpeg4ip/files/patch-config.h.in')
-rw-r--r-- | multimedia/mpeg4ip/files/patch-config.h.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/mpeg4ip/files/patch-config.h.in b/multimedia/mpeg4ip/files/patch-config.h.in new file mode 100644 index 0000000..a46de1f --- /dev/null +++ b/multimedia/mpeg4ip/files/patch-config.h.in @@ -0,0 +1,29 @@ +FreeBSD 5 has getopt.h and getopt_long() but they are not fully compatible +with GNU getopt. Specifically, FreeBSD 5 does not have getopt_long_only(). +So using stock GNU getopt seems simplest way to solve this issue. + +--- config.h.in.orig Fri Mar 7 04:38:55 2003 ++++ config.h.in Sat Jul 12 08:04:26 2003 +@@ -12,12 +12,6 @@ + /* Define to 1 if you have the `getopt' function. */ + #undef HAVE_GETOPT + +-/* Define to 1 if you have the <getopt.h> header file. */ +-#undef HAVE_GETOPT_H +- +-/* Define to 1 if you have the `getopt_long' function. */ +-#undef HAVE_GETOPT_LONG +- + /* Define to 1 if you have the `getrusage' function. */ + #undef HAVE_GETRUSAGE + +@@ -26,9 +20,6 @@ + + /* Define to 1 if you have the <inttypes.h> header file. */ + #undef HAVE_INTTYPES_H +- +-/* Define to 1 if you have the `gnugetopt' library (-lgnugetopt). */ +-#undef HAVE_LIBGNUGETOPT + + /* Define to 1 if you have the `sndfile' library (-lsndfile). */ + #undef HAVE_LIBSNDFILE |