aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2011-12-07 10:30:45 +0800
committerknu <knu@FreeBSD.org>2011-12-07 10:30:45 +0800
commit08a4212b5d436312a5f6f1bfed3f72da46b6adc4 (patch)
treec0e6778d23fe6231e37edf5a0996b49a1543f6c1 /devel
parent7cac68e40900e9e3ad786620e4c58b844f338ebc (diff)
downloadfreebsd-ports-graphics-08a4212b5d436312a5f6f1bfed3f72da46b6adc4.tar.gz
freebsd-ports-graphics-08a4212b5d436312a5f6f1bfed3f72da46b6adc4.tar.zst
freebsd-ports-graphics-08a4212b5d436312a5f6f1bfed3f72da46b6adc4.zip
Add a missing build dependency: devel/mingw32-bin-msvcrt.
Pointed out by: pointyhat Feature safe: yes
Diffstat (limited to 'devel')
-rw-r--r--devel/mingw32-libffi/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/mingw32-libffi/Makefile b/devel/mingw32-libffi/Makefile
index 6bf0ea85cbf..77d1627570f 100644
--- a/devel/mingw32-libffi/Makefile
+++ b/devel/mingw32-libffi/Makefile
@@ -14,13 +14,14 @@ PKGNAMEPREFIX= mingw32-
MAINTAINER= knu@FreeBSD.org
COMMENT= The libffi library cross-compiled for MinGW32
-BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
+BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
+ ${LOCALBASE}/mingw32/include/stdlib.h:${PORTSDIR}/devel/${PKGNAMEPREFIX}bin-msvcrt
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/mingw32
CONFIGURE_ARGS= --host="mingw32" --enable-shared
CC= ${PKGNAMEPREFIX}gcc
-CFLAGS= -O2
+CFLAGS= -O2 # Override CFLAGS for a cross-build
PLIST_SUB= PORTVERSION=${PORTVERSION}
post-patch: