Port: mhash-0.9.9.9-1 Problem: The port is installing the header file
<mutils/mhash_config.h> which defines all the macros PACKAGE, PACKAGE_BUGREPORT, PACKAGE_NAME PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_VERSION and even VERSION. All these macros are interfering with any secondary software, relying on the above header file. Thus the corresponding definitions are removed using the patch included in this letter. The result is equally amicable with Gcc as with Clang. Best regards, Mats Erik Andersson
Description: Remove polluting macros from header template. Upstream leaves macros like PACKAGE_NAME, PACKAGE_VERSION, etcetra, to be present in <mutils/mhash_config.h>. . Since these are bound to disturb every other source using Autotools, the corresponding variables are removed. Author: Mats Erik Andersson <b...@gisladisker.se> Package: mhash-0.9.9.9. Last-Update: 2012-11-29 --- include/mutils/mhash_config.h.in.orig 2008-12-08 00:33:50.000000000 +0100 +++ include/mutils/mhash_config.h.in 2012-11-29 16:39:43.000000000 +0100 @@ -181,24 +181,6 @@ /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - /* Define to 1 if the C compiler supports function prototypes. */ #undef PROTOTYPES @@ -208,9 +190,6 @@ /* dmalloc */ #undef USE_DMALLOC -/* Version number of package */ -#undef VERSION - /* Define if using the dmalloc debugging malloc package */ #undef WITH_DMALLOC
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"