aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-24 06:58:44 +0800
committerbapt <bapt@FreeBSD.org>2014-12-24 06:58:44 +0800
commit26d7806b8b8d3f0b75d66f780fd10bf40c007fec (patch)
treeebdbc30abf9dd11ff3dd573049ac08d116ed3ae9 /comms
parent82a14fea9318c6f55570e92c13c28cf0ed024d11 (diff)
downloadfreebsd-ports-gnome-26d7806b8b8d3f0b75d66f780fd10bf40c007fec.tar.gz
freebsd-ports-gnome-26d7806b8b8d3f0b75d66f780fd10bf40c007fec.tar.zst
freebsd-ports-gnome-26d7806b8b8d3f0b75d66f780fd10bf40c007fec.zip
Do not hard code the version of png
Diffstat (limited to 'comms')
-rw-r--r--comms/xnecview/Makefile2
-rw-r--r--comms/xnecview/files/patch-Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/comms/xnecview/Makefile b/comms/xnecview/Makefile
index 2c2637ea1838..1f2039fca19c 100644
--- a/comms/xnecview/Makefile
+++ b/comms/xnecview/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
MAINTAINER= xride@FreeBSD.org
COMMENT= A X viewer of nec2c data
-LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
RUN_DEPENDS= nec2c:${PORTSDIR}/comms/nec2c
USES= gmake pkgconfig tar:tgz
diff --git a/comms/xnecview/files/patch-Makefile b/comms/xnecview/files/patch-Makefile
index 09cec08bab2a..297debb36522 100644
--- a/comms/xnecview/files/patch-Makefile
+++ b/comms/xnecview/files/patch-Makefile
@@ -17,8 +17,8 @@
ifeq ($(PNG),yes)
CFLAGS += -DHAVE_LIBPNG
-LDFLAGS += -lpng
-+CFLAGS += `pkg-config --cflags ${LOCALBASE}/libdata/pkgconfig/libpng15.pc`
-+LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng15.pc`
++CFLAGS += `pkg-config --cflags ${LOCALBASE}/libdata/pkgconfig/libpng.pc`
++LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng.pc`
endif
SRCS = xnecview.c xwin.c parse_input.c parse_output.c draw.c draw_opaque.c freqplot.c postscript.c icon.xbm