aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-26 15:37:05 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-26 15:37:05 +0000
commit38592c3bf229ae5d7d534d1fa1c2251e7f164e13 (patch)
tree7578b31879177f18e6a0af15bb824fa48bf5cbd1
parent64a370ec26132b67df943a8d02fcb2df6d22f38b (diff)
downloadports-38592c3bf229ae5d7d534d1fa1c2251e7f164e13.tar.gz
ports-38592c3bf229ae5d7d534d1fa1c2251e7f164e13.zip
biology/lamarc: fix build on current
PR: ports/184219 Submitted by: KATO Tsuguru <tkato432 yahoo.com>
Notes
Notes: svn path=/head/; revision=334945
-rw-r--r--biology/lamarc/Makefile4
-rw-r--r--biology/lamarc/files/patch-src__control__defaults.h10
2 files changed, 10 insertions, 4 deletions
diff --git a/biology/lamarc/Makefile b/biology/lamarc/Makefile
index a96e939ea102..6f619f2a73fb 100644
--- a/biology/lamarc/Makefile
+++ b/biology/lamarc/Makefile
@@ -32,10 +32,6 @@ PLIST_FILES+= bin/lam_conv
CONFIGURE_ARGS+= --disable-converter
.endif
-.if empty(PORT_OPTIONS:MDOCS)
-INSTALL_TARGET= install-exec-am
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|/html/lamarc|/${DOCSDIR_REL}|' ${WRKSRC}/Makefile.in
diff --git a/biology/lamarc/files/patch-src__control__defaults.h b/biology/lamarc/files/patch-src__control__defaults.h
new file mode 100644
index 000000000000..0bf8cd156e16
--- /dev/null
+++ b/biology/lamarc/files/patch-src__control__defaults.h
@@ -0,0 +1,10 @@
+--- src/control/defaults.h.orig
++++ src/control/defaults.h
+@@ -3,6 +3,7 @@
+ #ifndef DEFAULTS_H
+ #define DEFAULTS_H
+
++#include <ctime>
+ #include <string>
+ #include "constants.h"
+ #include "local_build.h"