Lines 57-63
Link Here
|
57 |
.endif |
57 |
.endif |
58 |
|
58 |
|
59 |
GNU_CONFIGURE= yes |
59 |
GNU_CONFIGURE= yes |
60 |
USE_GCC= yes |
60 |
#USE_GCC= yes |
61 |
USES= autoreconf:build compiler:features gmake iconv \ |
61 |
USES= autoreconf:build compiler:features gmake iconv \ |
62 |
libtool:build localbase:ldflags pkgconfig python:build |
62 |
libtool:build localbase:ldflags pkgconfig python:build |
63 |
MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal |
63 |
MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal |
Lines 64-70
Link Here
|
64 |
|
64 |
|
65 |
WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION} |
65 |
WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION} |
66 |
|
66 |
|
67 |
CONFIGURE_ARGS= --force --enable-x265 |
67 |
CONFIGURE_ARGS= --force --enable-x265 --build=${WRKSRC}/build |
68 |
CONFIGURE_TARGET= build |
68 |
CONFIGURE_TARGET= build |
69 |
|
69 |
|
70 |
BUILD_WRKSRC= ${WRKSRC}/build |
70 |
BUILD_WRKSRC= ${WRKSRC}/build |
Lines 76-82
Link Here
|
76 |
NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 |
76 |
NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 |
77 |
|
77 |
|
78 |
# Enforce linking to bundled libraries instead of system libraries |
78 |
# Enforce linking to bundled libraries instead of system libraries |
79 |
LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib |
79 |
#LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib |
80 |
|
80 |
|
81 |
# Enforce linking to the system c++ standard lib |
81 |
# Enforce linking to the system c++ standard lib |
82 |
LDFLAGS+= -l${COMPILER_FEATURES:Mlib*c++:S/lib//} |
82 |
LDFLAGS+= -l${COMPILER_FEATURES:Mlib*c++:S/lib//} |