aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-24 06:59:52 +0800
committerbapt <bapt@FreeBSD.org>2014-12-24 06:59:52 +0800
commitd1fddbdbc2c94e6a1c62afb02354f5b1f3a32437 (patch)
tree4092f7617839cf0385703a5ef2db5f4df41c40c0 /comms
parent26d7806b8b8d3f0b75d66f780fd10bf40c007fec (diff)
downloadfreebsd-ports-gnome-d1fddbdbc2c94e6a1c62afb02354f5b1f3a32437.tar.gz
freebsd-ports-gnome-d1fddbdbc2c94e6a1c62afb02354f5b1f3a32437.tar.zst
freebsd-ports-gnome-d1fddbdbc2c94e6a1c62afb02354f5b1f3a32437.zip
Do not hardcode the libpng.pc path either
Diffstat (limited to 'comms')
-rw-r--r--comms/xnecview/files/patch-Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/comms/xnecview/files/patch-Makefile b/comms/xnecview/files/patch-Makefile
index 297debb36522..2492b0a3a034 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/libpng.pc`
-+LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng.pc`
++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