diff options
-rw-r--r-- | emulators/wine-devel/Makefile | 7 | ||||
-rw-r--r-- | emulators/wine/Makefile | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile index bad753776fff..7406bb53e32d 100644 --- a/emulators/wine-devel/Makefile +++ b/emulators/wine-devel/Makefile @@ -25,7 +25,7 @@ LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ xml2:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --datadir=${DATADIR} +CONFIGURE_ARGS= --datadir=${DATADIR} --verbose CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ EXTRA_BINARIES="wine-kthread" @@ -49,6 +49,11 @@ PKGMESSAGE= ${WRKDIR}/pkg-message IGNORE= fails to work on versions of FreeBSD before 5.3 (due to problems with threading support) .endif +post-patch: +.if ${OSVERSION} < 700041 + ${REINPLACE_CMD} 's/-lpthread/-lthr/g' ${WRKSRC}/configure +.endif + pre-build: cd ${WRKSRC} && make depend diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index bad753776fff..7406bb53e32d 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -25,7 +25,7 @@ LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ xml2:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --datadir=${DATADIR} +CONFIGURE_ARGS= --datadir=${DATADIR} --verbose CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ EXTRA_BINARIES="wine-kthread" @@ -49,6 +49,11 @@ PKGMESSAGE= ${WRKDIR}/pkg-message IGNORE= fails to work on versions of FreeBSD before 5.3 (due to problems with threading support) .endif +post-patch: +.if ${OSVERSION} < 700041 + ${REINPLACE_CMD} 's/-lpthread/-lthr/g' ${WRKSRC}/configure +.endif + pre-build: cd ${WRKSRC} && make depend |