aboutsummaryrefslogtreecommitdiffstats
path: root/biology/lamarc
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-11-26 23:37:05 +0800
committerwg <wg@FreeBSD.org>2013-11-26 23:37:05 +0800
commitb3b7c54cc7933e6ca76a2aa4d59292e254ac73ce (patch)
tree7578b31879177f18e6a0af15bb824fa48bf5cbd1 /biology/lamarc
parentdd25499d8bd48df91cca37faf5a9c302c8d2cc0c (diff)
downloadfreebsd-ports-gnome-b3b7c54cc7933e6ca76a2aa4d59292e254ac73ce.tar.gz
freebsd-ports-gnome-b3b7c54cc7933e6ca76a2aa4d59292e254ac73ce.tar.zst
freebsd-ports-gnome-b3b7c54cc7933e6ca76a2aa4d59292e254ac73ce.zip
biology/lamarc: fix build on current
PR: ports/184219 Submitted by: KATO Tsuguru <tkato432 yahoo.com>
Diffstat (limited to 'biology/lamarc')
-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"