aboutsummaryrefslogtreecommitdiff
path: root/cad/oregano
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-29 09:35:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-29 09:35:49 +0000
commiteb09611248b082e6311a59ac2b29bf55b65e7249 (patch)
tree773621192b4f4d240b0eb8e6ca21953171dd5c4d /cad/oregano
parentfa5b7341cc3f54f5d0f67aff4fd65c92f0f54186 (diff)
downloadports-eb09611248b082e6311a59ac2b29bf55b65e7249.tar.gz
ports-eb09611248b082e6311a59ac2b29bf55b65e7249.zip
- Fix build
PR: 11102 Submitted by: trasz
Notes
Notes: svn path=/head/; revision=188723
Diffstat (limited to 'cad/oregano')
-rw-r--r--cad/oregano/Makefile2
-rw-r--r--cad/oregano/files/patch-SConstruct11
-rw-r--r--cad/oregano/files/patch-src__print.c10
3 files changed, 22 insertions, 1 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile
index 9518d579d248..be829d6f3c9e 100644
--- a/cad/oregano/Makefile
+++ b/cad/oregano/Makefile
@@ -7,7 +7,7 @@
PORTNAME= oregano
PORTVERSION= 0.60.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad gnome
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/84/
diff --git a/cad/oregano/files/patch-SConstruct b/cad/oregano/files/patch-SConstruct
new file mode 100644
index 000000000000..b4aa64e4d45b
--- /dev/null
+++ b/cad/oregano/files/patch-SConstruct
@@ -0,0 +1,11 @@
+--- SConstruct.orig Thu Mar 29 10:35:45 2007
++++ SConstruct Thu Mar 29 10:36:06 2007
+@@ -10,7 +10,7 @@
+ opts = Options ('oregano.py');
+ opts.Add (BoolOption ('RunUpdateMimeDatabase', 'Set to no if you don\'t want to run update-mime-database', 1));
+ opts.Add (BoolOption ('Debug', 'Set to yes you want to compile with debug symbolse', 0));
+-opts.Add (PathOption ('PREFIX', 'System base prefix path', '/usr/local'));
++opts.Add (PathOption ('PREFIX', 'System base prefix path', '/usr/local', PathOption.PathIsDirCreate));
+ opts.Add (PackageOption ('DESTDIR', 'System base installation path', '/'));
+
+ # Dependencies #
diff --git a/cad/oregano/files/patch-src__print.c b/cad/oregano/files/patch-src__print.c
new file mode 100644
index 000000000000..5c84977472c0
--- /dev/null
+++ b/cad/oregano/files/patch-src__print.c
@@ -0,0 +1,10 @@
+--- src/print.c.orig Thu Mar 29 10:30:23 2007
++++ src/print.c Thu Mar 29 10:30:26 2007
+@@ -31,6 +31,7 @@
+ #include <math.h>
+ #include <gnome.h>
+ #include <libgnomeprint/gnome-print.h>
++#include <libgnomeprint/gnome-print-paper.h>
+ #include "schematic.h"
+ #include "schematic-view.h"
+ #include "sheet.h"