net/amule fails to build because it cannot find the freetype libraries.
This diff fixes the build by adding "-L${X11BASE}/lib" to LDFLAGS.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/amule/Makefile,v
retrieving revision 1.80
diff -u -p -r1.80 Makefile
--- Makefile    3 Feb 2022 22:17:27 -0000       1.80
+++ Makefile    2 Mar 2022 22:07:56 -0000
@@ -89,7 +89,7 @@ CONFIGURE_ARGS +=     --enable-debug
 .endif
 
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include 
-I${X11BASE}/include" \
-                       LDFLAGS=-lexecinfo \
+                       LDFLAGS="-lexecinfo -L${X11BASE}/lib" \
                        LOCALDIR="${LOCALBASE}" \
                        X11R6DIR="${X11BASE}" \
                        ac_cv_header_bfd_h=false

Reply via email to