summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4-libraries/scripts/configure')
-rw-r--r--x11/XFree86-4-libraries/scripts/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/scripts/configure b/x11/XFree86-4-libraries/scripts/configure
index 832eec9686a8..d37c78c4c1cc 100644
--- a/x11/XFree86-4-libraries/scripts/configure
+++ b/x11/XFree86-4-libraries/scripts/configure
@@ -73,6 +73,9 @@ configure () {
echo "#define FreeBSDBuildXlib YES" >> $LOCALDEF
echo "#define FreeBSDBuildXbin NO" >> $LOCALDEF
echo "#define UseInstalledPrograms YES" >> $LOCALDEF
+ echo "#define FreeBSDCC ${CC}" >> $LOCALDEF
+ echo "#define FreeBSDCXX ${CXX}" >> $LOCALDEF
+ echo "#define FreeBSDCFLAGS ${CFLAGS}" >> $LOCALDEF
# Copy ORIGDEF to DESTDEF
rm -f $DESTDEF