use of LDFLAGS is mentioned in Makefile.template

Index: mk/bsd.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.922
diff -u -r1.922 bsd.port.mk
--- mk/bsd.port.mk      4 Jan 2008 18:38:51 -0000       1.922
+++ mk/bsd.port.mk      12 Jan 2008 00:24:43 -0000
@@ -543,6 +543,7 @@
 MAKE_ENV += PATH='${PORTPATH}' PREFIX='${PREFIX}' \
        LOCALBASE='${LOCALBASE}' DEPBASE='${DEPBASE}' X11BASE='${X11BASE}' \
        MOTIFLIB='${MOTIFLIB}' CFLAGS='${CFLAGS:C/ *$//}' \
+       LDFLAGS='${LDFLAGS:C/ *$//}' \
        TRUEPREFIX='${PREFIX}' ${DESTDIRNAME}='' \
        HOME='${PORTHOME}'
 
@@ -1233,6 +1234,7 @@
 MODSIMPLE_configure = \
        cd ${WRKCONF} && ${_SYSTRACE_CMD} ${SETENV} \
                CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS:C/ *$//}" \
+               LDFLAGS="${LDFLAGS:C/ *$//}" \
                CXX="${CXX}" ac_cv_path_CXX="${CXX}" CXXFLAGS="${CXXFLAGS:C/ 
*$//}" \
                INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
                ac_given_INSTALL="/usr/bin/install -c -o ${BINOWN} -g 
${BINGRP}" \

Reply via email to