From 4fb79c18e5658fbd03dcc58012928ddb03b25f33 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 26 Jul 2013 06:47:04 +0000 Subject: Fix build with linker that does not copy the dt_need from libraries it links with like recent binutils. --- x11/xvattr/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11/xvattr/Makefile') diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile index 918086f7ba8f..f6bcfa0fd508 100644 --- a/x11/xvattr/Makefile +++ b/x11/xvattr/Makefile @@ -38,9 +38,9 @@ post-extract: do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \ - `pkg-config --cflags --libs xv` + `pkg-config --cflags --libs xv x11` cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \ - `pkg-config --cflags --libs ${GTK_PC} xv` + `pkg-config --cflags --libs ${GTK_PC} xv x11` do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -- cgit v1.2.3