mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
cad/geda: fix gsch2pcb utility by using gnu M4
PR: 195155 Submitted by: Tobias Rehbein
This commit is contained in:
parent
2d6dc3b824
commit
bae8c9cbe9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372806
@ -17,7 +17,8 @@ LICENSE= GPLv2 # (or later)
|
||||
|
||||
LIB_DEPENDS= libstroke.so:${PORTSDIR}/devel/libstroke \
|
||||
libguile.so:${PORTSDIR}/lang/guile
|
||||
RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk
|
||||
RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk\
|
||||
m4>=1.4.11:${PORTSDIR}/devel/m4
|
||||
|
||||
USES= desktop-file-utils gettext gmake libtool pathfix perl5 \
|
||||
pkgconfig python:run shared-mime-info shebangfix
|
||||
@ -29,6 +30,7 @@ SHEBANG_FILES= examples/lightning_detector/bom libgeda/docs/*.dox \
|
||||
USE_GNOME= gtk20
|
||||
USE_PERL5= run
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
|
||||
CONFIGURE_ARGS= --with-libstroke=${LOCALBASE}
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_LDCONFIG= yes
|
||||
|
18
cad/geda/files/patch-utils__src__gsch2pcb.c
Normal file
18
cad/geda/files/patch-utils__src__gsch2pcb.c
Normal file
@ -0,0 +1,18 @@
|
||||
--- utils/src/gsch2pcb.c.orig 2013-08-18 08:44:47.000000000 +0200
|
||||
+++ utils/src/gsch2pcb.c 2014-11-18 18:53:20.303642614 +0100
|
||||
@@ -1397,13 +1397,13 @@
|
||||
pcbdata_path = g_getenv ("PCBDATA"); /* do not free return value */
|
||||
if (pcbdata_path != NULL) {
|
||||
/* If PCBDATA is set, use the value */
|
||||
- m4_pcbdir = g_strconcat (pcbdata_path, "/pcb/m4", NULL);
|
||||
+ m4_pcbdir = g_strconcat (pcbdata_path, "/m4", NULL);
|
||||
} else {
|
||||
/* Use the default value passed in from the configure script
|
||||
* instead of trying to hard code a value which is very
|
||||
* likely wrong
|
||||
*/
|
||||
- m4_pcbdir = g_strconcat (PCBDATADIR, "/pcb/m4", NULL);
|
||||
+ m4_pcbdir = g_strconcat (PCBDATADIR, "/m4", NULL);
|
||||
}
|
||||
|
||||
default_m4_pcbdir = g_strdup (m4_pcbdir);
|
@ -2341,3 +2341,4 @@ share/mime/application/x-geda-gsch2pcb-project.xml
|
||||
share/mime/application/x-geda-schematic.xml
|
||||
share/mime/application/x-geda-symbol.xml
|
||||
share/mime/packages/libgeda.xml
|
||||
@dir %%DATADIR%%/sym/local
|
||||
|
Loading…
Reference in New Issue
Block a user