- fix for mhash exporting defined that normally autotools-private

- Bump portrevision

Reviewed by:	mat
This commit is contained in:
Michael Landin 2018-04-10 08:53:19 +00:00
parent 9697387a81
commit 3acd303497
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466946
4 changed files with 73 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= mhash
PORTVERSION= 0.9.9.9
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= SF

View File

@ -0,0 +1,10 @@
--- configure.in.orig
+++ configure.in
@@ -6,6 +6,7 @@
AM_INIT_AUTOMAKE
AC_DEFINE([MHASH_VERSION], PROGRAM_VERSION, "MHash Version")
+AC_CONFIG_HEADER([include/mutils/config.h])
AC_CONFIG_HEADER([include/mutils/mhash_config.h])

View File

@ -0,0 +1,25 @@
--- include/mutils/config.h.in.orig
+++ include/mutils/config.h.in
@@ -0,0 +1,22 @@
+/* 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
+
+/* Version number of package */
+#undef VERSION
+
+

View File

@ -0,0 +1,37 @@
--- include/mutils/mhash_config.h.in.orig
+++ include/mutils/mhash_config.h.in
@@ -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