aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-04-17 05:58:06 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-04-17 05:58:06 +0000
commit12e7d523698a5bc6c259e4cc98e672c93938c390 (patch)
treefae628abf56ec4c8501dd2a8beed1469f516000f /cad
parente78f7bf6b66d3a8c0e93acba1adff3ad81fb046b (diff)
downloadports-12e7d523698a5bc6c259e4cc98e672c93938c390.tar.gz
ports-12e7d523698a5bc6c259e4cc98e672c93938c390.zip
cad/lepton-eda: fix build on 13.0-CURRENT
PR: 236879 Submitted by: graahnul.grom@gmail.com (maintainer)
Notes
Notes: svn path=/head/; revision=499146
Diffstat (limited to 'cad')
-rw-r--r--cad/lepton-eda/Makefile10
-rw-r--r--cad/lepton-eda/files/patch-utils_gschlas_Makefile.am11
2 files changed, 20 insertions, 1 deletions
diff --git a/cad/lepton-eda/Makefile b/cad/lepton-eda/Makefile
index 720fc9ff9d18..1adebe66485b 100644
--- a/cad/lepton-eda/Makefile
+++ b/cad/lepton-eda/Makefile
@@ -55,7 +55,15 @@ NLS_USES= gettext-runtime
# work around for errors while running
# build-tools/icon-theme-installer:
#
-# Cannot find 'install -m 0644'; You probably want to pass -x $(INSTALL_DATA)
+# Cannot find 'install -m 0644'; You probably want to pass -x ${INSTALL_DATA}
+#
+#
+# NOTE: in the error message above (I wanted to show it
+# verbatim), INSTALL_DATA actually is enclosed in
+# parenthesis, not in curly brackets.
+# I had to change it to appease portlint(1), which does
+# not ignore comments in makefiles.
+#
#
# for 3 dirs (attrib/data, liblepton/data, schematic/data)
# the following lines should be in the generated Makefile:
diff --git a/cad/lepton-eda/files/patch-utils_gschlas_Makefile.am b/cad/lepton-eda/files/patch-utils_gschlas_Makefile.am
new file mode 100644
index 000000000000..6b82a8f1e0ad
--- /dev/null
+++ b/cad/lepton-eda/files/patch-utils_gschlas_Makefile.am
@@ -0,0 +1,11 @@
+--- utils/gschlas/Makefile.am.orig 2018-12-11 19:24:41 UTC
++++ utils/gschlas/Makefile.am
+@@ -16,7 +16,7 @@ lepton_schlas_CPPFLAGS = -I$(top_srcdir)
+ -I$(top_srcdir) -I$(includedir)
+ lepton_schlas_CFLAGS = $(GCC_CFLAGS) $(MINGW_CFLAGS) $(GLIB_CFLAGS) \
+ $(GUILE_CFLAGS) $(GDK_PIXBUF_CFLAGS)
+-lepton_schlas_LDFLAGS = $(GLIB_LIBS) $(GUILE_LIBS) $(GDK_PIXBUF_LIBS)
++lepton_schlas_LDFLAGS = $(GLIB_LIBS) $(GUILE_LIBS) $(GDK_PIXBUF_LIBS) $(GIO_LIBS)
+ lepton_schlas_LDADD = $(top_builddir)/liblepton/src/liblepton.la
+
+ MOSTLYCLEANFILES = *.log *.ps core FILE *~