diff options
Diffstat (limited to 'x11-servers/XFree86-4-FontServer')
-rw-r--r-- | x11-servers/XFree86-4-FontServer/Makefile | 4 | ||||
-rw-r--r-- | x11-servers/XFree86-4-FontServer/scripts/configure | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-FontServer/Makefile b/x11-servers/XFree86-4-FontServer/Makefile index 48ac7d6f356f..73d0b8862e7f 100644 --- a/x11-servers/XFree86-4-FontServer/Makefile +++ b/x11-servers/XFree86-4-FontServer/Makefile @@ -7,6 +7,7 @@ PORTNAME= FontServer PORTVERSION= 4.2.0 +PORTREVISION= 1 CATEGORIES= x11-servers x11-fonts MASTER_SITES= ${MASTER_SITE_XFREE} MASTER_SITE_SUBDIR= ${PORTVERSION} @@ -20,6 +21,9 @@ XFREE86_VERSION= 4 USE_IMAKE= YES DIST_SUBDIR= xc WRKSRC= ${WRKDIR}/xc +SCRIPTS_ENV= CC="${CC}" \ + CXX="${CXX}" \ + CFLAGS="${CFLAGS}" PATCHDIR= ${.CURDIR}/../../x11/XFree86-4-libraries/files MAN1= Xserver.1 xfs.1 XBUILD_DIRS= programs/xfs diff --git a/x11-servers/XFree86-4-FontServer/scripts/configure b/x11-servers/XFree86-4-FontServer/scripts/configure index 38581aaadf57..70303f06cf69 100644 --- a/x11-servers/XFree86-4-FontServer/scripts/configure +++ b/x11-servers/XFree86-4-FontServer/scripts/configure @@ -58,6 +58,9 @@ configure () { echo "#define InstallFSConfig $InstallFSConfig" >> $LOCALDEF echo "#define FreeBSDBuildXfs YES" >> $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 |