1a3aaf2add
+ Add LICENSE
* Fix MASTER_SITES and pkg-descr
* Use `make makepatch` to regenerate patches to ensure proper patch
format
Changelog:
- a few bugfixes:
- correctly recognize near field data in yet another nec2 version
(Debian's) (2011)
- show gain scale when --view option is used to choose a view along
one of the axes. (2014-02-27)
- calculation of absolute segment numbers when using GM cards wasi
incorrect (tnx Luigi Tarenga)
- updates for more modern library versions
- compatibility with libpng 1.6 instead of 1.2 (tnx Luigi Tarenga)
- PNG file was completely black with modern libgdk (tnx Luigi Tarenga)
- fixed a few compiler warnings (one of which was probably a very subtle
bug in the opaque drawing)
PR: 285510
Approved by: xride (maintainer, timeout > 3 weeks)
25 lines
586 B
Plaintext
25 lines
586 B
Plaintext
--- Makefile.orig 2006-03-27 20:38:37 UTC
|
|
+++ Makefile
|
|
@@ -3,15 +3,16 @@ PNG = yes
|
|
|
|
|
|
|
|
-CC = gcc
|
|
-CFLAGS = -O2 -g -Wall `pkg-config gtk+-2.0 --cflags`
|
|
+CC ?= gcc
|
|
+CFLAGS += `pkg-config gtk+-2.0 --cflags`
|
|
|
|
-LD = $(CC)
|
|
-LDFLAGS = `pkg-config gtk+-2.0 --libs` -lm
|
|
+LD ?= $(CC)
|
|
+LDFLAGS += `pkg-config gtk+-2.0 --libs` -lm
|
|
|
|
ifeq ($(PNG),yes)
|
|
CFLAGS += -DHAVE_LIBPNG
|
|
-LDFLAGS += -lpng
|
|
+CFLAGS += `pkg-config --cflags libpng`
|
|
+LDFLAGS += `pkg-config --libs libpng`
|
|
endif
|
|
|
|
SRCS = xnecview.c xwin.c parse_input.c parse_output.c draw.c draw_opaque.c freqplot.c postscript.c icon.xbm
|